node_format
Format worker node name (name@host.com).
def node_format(
s: str,
name: str,
**extra: dict
) - > str
Format worker node name (name@host.com).
Parameters
| Name | Type | Description |
|---|---|---|
| s | str | The template string or format specification used to structure the output. |
| name | str | The full worker node name to be split into shortname and host components. |
| **extra | dict | Additional keyword arguments passed to the underlying host formatting logic. |
Returns
| Type | Description |
|---|---|
str | The formatted node identifier string, typically incorporating the host and shortname. |