qcodes/dataset/descriptions/versioning/serialization.py
def from_yaml_to_current(yaml_str: str) -> current.RunDescriber:
    """
    Deserialize a YAML string into a RunDescriber of the current version
    """
    yaml = YAML()
    # yaml.load returns an OrderedDict, but we need a dict
    ser = cast(RunDescriberDicts, dict(yaml.load(yaml_str)))
    return from_dict_to_current(ser)

    Deserialize a YAML string into a RunDescriber of the current version
    
Deserialize a YAML string into a RunDescriber of the current version
Deserialize a YAML string into a RunDescriber of the current version
def from_yaml_to_current(yaml_str: str) -> current.RunDescriber:
    yaml = YAML()
    ser = cast(RunDescriberDicts, dict(yaml.load(yaml_str)))
    return from_dict_to_current(ser)
def from_yaml_to_current ( yaml_str : str ) -> current . RunDescriber : yaml = YAML ( ) ser = cast ( RunDescriberDicts , dict ( yaml . load ( yaml_str ) ) ) return from_dict_to_current ( ser )
Deserialize a YAML string into a RunDescriber of the current version
Deserialize a YAML string into a RunDescriber of the current version
"""
    Deserialize a YAML string into a RunDescriber of the current version
    """ # yaml.load returns an OrderedDict, but we need a dict
yaml_str
str