0a2b28c8b3c0e5b87a9dbac3cad6dc8c6fedbe2c,polyaxon_cli/cli/experiment.py,,get,#Any#,44

Before Change


    try:
        response = PolyaxonClients().experiment.get_experiment(user, project_name, experiment)
        // Set caching
        ExperimentManager.set_config(response)
    except (PolyaxonHTTPError, PolyaxonShouldExitError) as e:
        Printer.print_error("Could not load experiment `{}` info.".format(experiment))
        Printer.print_error("Error message `{}`.".format(e))
        sys.exit(1)

After Change


    try:
        response = PolyaxonClients().experiment.get_experiment(user, project_name, experiment)
        // Set caching only if we have an initialized project
        if ProjectManager.is_initialized():
            ExperimentManager.set_config(response)
    except (PolyaxonHTTPError, PolyaxonShouldExitError) as e:
        Printer.print_error("Could not load experiment `{}` info.".format(experiment))
        Printer.print_error("Error message `{}`.".format(e))
        sys.exit(1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: polyaxon/polyaxon
Commit Name: 0a2b28c8b3c0e5b87a9dbac3cad6dc8c6fedbe2c
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/experiment.py
Class Name:
Method Name: get


Project Name: polyaxon/polyaxon
Commit Name: 0a2b28c8b3c0e5b87a9dbac3cad6dc8c6fedbe2c
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/job.py
Class Name:
Method Name: get


Project Name: polyaxon/polyaxon
Commit Name: 0a2b28c8b3c0e5b87a9dbac3cad6dc8c6fedbe2c
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/experiment_group.py
Class Name:
Method Name: get