src/orion/core/cli/hunt.py
def main(args):
    """Build experiment and execute hunt command"""
    args["root"] = None
    args["leafs"] = []
    # TODO: simplify when parameter parsing is refactored
    experiment = experiment_builder.build_from_args(args)

    if args["init_only"]:
        return

    config = experiment_builder.get_cmd_config(args)
    worker_config = orion.core.config.worker.to_dict()
    if config.get("worker"):
        worker_config.update(config.get("worker"))

    workon(
        experiment,
        ignore_code_changes=config["branching"].get("ignore_code_changes"),
        **worker_config
    )
Build experiment and execute hunt command
Build experiment and execute hunt command
Build experiment and execute hunt command
def main(args):
    args["root"] = None
    args["leafs"] = []
    experiment = experiment_builder.build_from_args(args)
    if args["init_only"]:
        return
    config = experiment_builder.get_cmd_config(args)
    worker_config = orion.core.config.worker.to_dict()
    if config.get("worker"):
        worker_config.update(config.get("worker"))
    workon(
        experiment,
        ignore_code_changes=config["branching"].get("ignore_code_changes"),
        **worker_config
    )
def main ( args ) : args [ "root" ] = None args [ "leafs" ] = [ ] experiment = experiment_builder . build_from_args ( args ) if args [ "init_only" ] : return config = experiment_builder . get_cmd_config ( args ) worker_config = orion . core . config . worker . to_dict ( ) if config . get ( "worker" ) : worker_config . update ( config . get ( "worker" ) ) workon ( experiment , ignore_code_changes = config [ "branching" ] . get ( "ignore_code_changes" ) , ** worker_config )
Build experiment and execute hunt command
Build experiment and execute hunt command
"""Build experiment and execute hunt command""" # TODO: simplify when parameter parsing is refactored
args