qcodes/dataset/descriptions/versioning/converters.py
def v1_to_v0(new: RunDescriberV1Dict) -> RunDescriberV0Dict:
    """
    Convert a v1 RunDescriber Dict to a v0 RunDescriber Dict
    """
    interdeps_dict = new['interdependencies']
    interdeps_ = InterDependencies_._from_dict(interdeps_dict)
    interdepsdict = new_to_old(interdeps_)._to_dict()
    rundescriberv0dict = RunDescriberV0Dict(version=0,
                                            interdependencies=interdepsdict)
    return rundescriberv0dict

    Convert a v1 RunDescriber Dict to a v0 RunDescriber Dict
    
Convert a v1 RunDescriber Dict to a v0 RunDescriber Dict
Convert a v1 RunDescriber Dict to a v0 RunDescriber Dict
def v1_to_v0(new: RunDescriberV1Dict) -> RunDescriberV0Dict:
    interdeps_dict = new['interdependencies']
    interdeps_ = InterDependencies_._from_dict(interdeps_dict)
    interdepsdict = new_to_old(interdeps_)._to_dict()
    rundescriberv0dict = RunDescriberV0Dict(version=0,
                                            interdependencies=interdepsdict)
    return rundescriberv0dict
def v1_to_v0 ( new : RunDescriberV1Dict ) -> RunDescriberV0Dict : interdeps_dict = new [ 'interdependencies' ] interdeps_ = InterDependencies_ . _from_dict ( interdeps_dict ) interdepsdict = new_to_old ( interdeps_ ) . _to_dict ( ) rundescriberv0dict = RunDescriberV0Dict ( version = 0 , interdependencies = interdepsdict ) return rundescriberv0dict
Convert a v1 RunDescriber Dict to a v0 RunDescriber Dict
Convert a v1 RunDescriber Dict to a v0 RunDescriber Dict
"""
    Convert a v1 RunDescriber Dict to a v0 RunDescriber Dict
    """
new
RunDescriberV1Dict