qcodes/dataset/descriptions/versioning/converters.py
def v1_to_v2(old: RunDescriberV1Dict) -> RunDescriberV2Dict:
    """
    Convert a v1 RunDescriber Dict to a v2 RunDescriber Dict
    """
    interdeps_dict = old['interdependencies']
    interdeps_ = InterDependencies_._from_dict(interdeps_dict)
    interdepsdict = new_to_old(interdeps_)._to_dict()
    return RunDescriberV2Dict(version=2, interdependencies_=interdeps_dict,
                              interdependencies=interdepsdict)

    Convert a v1 RunDescriber Dict to a v2 RunDescriber Dict
    
Convert a v1 RunDescriber Dict to a v2 RunDescriber Dict
Convert a v1 RunDescriber Dict to a v2 RunDescriber Dict
def v1_to_v2(old: RunDescriberV1Dict) -> RunDescriberV2Dict:
    interdeps_dict = old['interdependencies']
    interdeps_ = InterDependencies_._from_dict(interdeps_dict)
    interdepsdict = new_to_old(interdeps_)._to_dict()
    return RunDescriberV2Dict(version=2, interdependencies_=interdeps_dict,
                              interdependencies=interdepsdict)
def v1_to_v2 ( old : RunDescriberV1Dict ) -> RunDescriberV2Dict : interdeps_dict = old [ 'interdependencies' ] interdeps_ = InterDependencies_ . _from_dict ( interdeps_dict ) interdepsdict = new_to_old ( interdeps_ ) . _to_dict ( ) return RunDescriberV2Dict ( version = 2 , interdependencies_ = interdeps_dict , interdependencies = interdepsdict )
Convert a v1 RunDescriber Dict to a v2 RunDescriber Dict
Convert a v1 RunDescriber Dict to a v2 RunDescriber Dict
"""
    Convert a v1 RunDescriber Dict to a v2 RunDescriber Dict
    """
old
RunDescriberV1Dict