Skip to main content

nodesplit

Split node name into tuple of name/hostname.

def nodesplit(
name: string
) - > tuple[None, str] | list[str]

Split node name into tuple of name/hostname.

Parameters

NameTypeDescription
namestringThe raw node identifier string to be partitioned into its constituent name and hostname components.

Returns

TypeDescription
`tuple[None, str]list[str]`