qcodes/dataset/linked_datasets/links.py
def validate_node(node_guid: str, node: str) -> None:
        """
        Validate that the guid given is a valid guid.

        Args:
            node_guid: the guid
            node: either "head" or "tail"
        """
        try:
            validate_guid_format(node_guid)
        except ValueError:
            raise ValueError(
                f'The guid given for {node} is not a valid guid. Received '
                f'{node_guid}.')

        Validate that the guid given is a valid guid.

        Args:
            node_guid: the guid
            node: either "head" or "tail"
        
Validate that the guid given is a valid guid.
Validate that the guid given is a valid guid .
def validate_node(node_guid: str, node: str) -> None:
        try:
            validate_guid_format(node_guid)
        except ValueError:
            raise ValueError(
                f'The guid given for {node} is not a valid guid. Received '
                f'{node_guid}.')
def validate_node ( node_guid : str , node : str ) -> None : try : validate_guid_format ( node_guid ) except ValueError : raise ValueError ( f'The guid given for {node} is not a valid guid. Received ' f'{node_guid}.' )
Validate that the guid given is a valid guid.
Validate that the guid given is a valid guid .
"""
        Validate that the guid given is a valid guid.

        Args:
            node_guid: the guid
            node: either "head" or "tail"
        """
node_guid
str
None
node
str
either "head" or "tail"
either " head " or " tail "