qcodes/dataset/experiment_settings.py
def reset_default_experiment_id(conn: Optional[ConnectionPlus] = None) -> None:
    """
    Resets the default experiment id to to the last experiment in the db.
    """
    global _default_experiment
    if conn is None:
        _default_experiment = {}
    else:
        db_path = path_to_dbfile(conn)
        _default_experiment[db_path] = None

    Resets the default experiment id to to the last experiment in the db.
    
Resets the default experiment id to to the last experiment in the db.
Resets the default experiment id to to the last experiment in the db .
def reset_default_experiment_id(conn: Optional[ConnectionPlus] = None) -> None:
    global _default_experiment
    if conn is None:
        _default_experiment = {}
    else:
        db_path = path_to_dbfile(conn)
        _default_experiment[db_path] = None
def reset_default_experiment_id ( conn : Optional [ ConnectionPlus ] = None ) -> None : global _default_experiment if conn is None : _default_experiment = { } else : db_path = path_to_dbfile ( conn ) _default_experiment [ db_path ] = None
Resets the default experiment id to to the last experiment in the db.
Resets the default experiment id to to the last experiment in the db .
"""
    Resets the default experiment id to to the last experiment in the db.
    """
conn
Optional[ConnectionPlus]