tests/functional/commands/conftest.py
def one_experiment_changed_vcs(one_experiment):
    """Create an experiment without trials."""
    experiment = experiment_builder.build(name=one_experiment["name"])

    experiment.metadata["VCS"] = {
        "type": "git",
        "is_dirty": False,
        "HEAD_sha": "new",
        "active_branch": "master",
        "diff_sha": None,
    }

    get_storage().update_experiment(experiment, metadata=experiment.metadata)
Create an experiment without trials.
Create an experiment without trials.
Create an experiment without trials .
def one_experiment_changed_vcs(one_experiment):
    experiment = experiment_builder.build(name=one_experiment["name"])
    experiment.metadata["VCS"] = {
        "type": "git",
        "is_dirty": False,
        "HEAD_sha": "new",
        "active_branch": "master",
        "diff_sha": None,
    }
    get_storage().update_experiment(experiment, metadata=experiment.metadata)
def one_experiment_changed_vcs ( one_experiment ) : experiment = experiment_builder . build ( name = one_experiment [ "name" ] ) experiment . metadata [ "VCS" ] = { "type" : "git" , "is_dirty" : False , "HEAD_sha" : "new" , "active_branch" : "master" , "diff_sha" : None , } get_storage ( ) . update_experiment ( experiment , metadata = experiment . metadata )
Create an experiment without trials.
Create an experiment without trials .
"""Create an experiment without trials."""
one_experiment