e71c88ef5267169917ff8e8e90759f6bc944bfd3,polyaxon_cli/cli/deploy.py,,deploy,#Any#Any#Any#Any#,47
Before Change
try:
manager.install()
except Exception as e:
Printer.print_error("Polyaxon could not be installed.")
exception = e
if exception:
Printer.print_error("Error message `{}`.".format(exception))
After Change
help="Upgrade a Polyaxon deployment.")
@clean_outputs
def deploy(file, manager_path, check, upgrade): // pylint:disable=redefined-builtin
if upgrade:
Printer.print_warning("The command `polyaxon deploy [-f] --upgrade` is deprecated, "
"please use `polyaxon admin upgrade [-f]`.")
elif check:
Printer.print_warning("The command `polyaxon deploy [-f] --check` is deprecated, "
"please use `polyaxon admin deploy [-f] --check`.")
else:
Printer.print_warning("The command `polyaxon deploy [-f]` is deprecated, "
"please use `polyaxon admin deploy [-f]`.")
@click.command()
@click.option("--file", "-f", type=click.Path(exists=True),
help="The polyaxon deployment config file(s) to check.")
@clean_outputs
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: polyaxon/polyaxon
Commit Name: e71c88ef5267169917ff8e8e90759f6bc944bfd3
Time: 2019-04-11
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/deploy.py
Class Name:
Method Name: deploy
Project Name: Microsoft/nni
Commit Name: a3f48b8b1cbe00837ae8174f5b140aaf71a226e8
Time: 2018-11-08
Author: shinaiyang@pku.edu.cn
File Name: tools/nni_cmd/nnictl_utils.py
Class Name:
Method Name: stop_experiment
Project Name: polyaxon/polyaxon
Commit Name: 2851d7e270787827274856de9df8e87e469fca14
Time: 2020-11-30
Author: contact@polyaxon.com
File Name: core/polyaxon/env_vars/getters/project.py
Class Name:
Method Name: get_project_or_local
Project Name: KhronosGroup/NNEF-Tools
Commit Name: 2aec65caac60fdc5ae6731b5142e231fc0614ed5
Time: 2019-02-26
Author: tamas.danyluk@aimotive.com
File Name: converter/nnef_converters/tf_converters/nnef_to_tf/converters.py
Class Name:
Method Name: convert_deconv