3742f8f8586b4092869337bd0430af04e2eee388,polyaxon_cli/cli/job.py,,statuses,#Any#,83
Before Change
$ polyaxon job -xp 1 -j 2 statuses
```
user, project_name, experiment, job = (ctx.obj["user"],
ctx.obj["project_name"],
ctx.obj["experiment"],
ctx.obj["job"])
try:
response = PolyaxonClients().job.get_statuses(user, project_name, experiment, job)
except (PolyaxonHTTPError, PolyaxonShouldExitError) as e:
Printer.print_error("Could not get status for job `{}`.".format(job))
After Change
$ polyaxon job -xp 1 -j 2 statuses
```
user, project_name, experiment, job = get_job_or_local(ctx.obj["project"],
ctx.obj["experiment"],
ctx.obj["job"])
try:
response = PolyaxonClients().job.get_statuses(user, project_name, experiment, job)
except (PolyaxonHTTPError, PolyaxonShouldExitError) as e:
Printer.print_error("Could not get status for job `{}`.".format(job))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 10
Instances
Project Name: polyaxon/polyaxon
Commit Name: 3742f8f8586b4092869337bd0430af04e2eee388
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/job.py
Class Name:
Method Name: statuses
Project Name: polyaxon/polyaxon
Commit Name: 3742f8f8586b4092869337bd0430af04e2eee388
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/job.py
Class Name:
Method Name: logs
Project Name: polyaxon/polyaxon
Commit Name: 3742f8f8586b4092869337bd0430af04e2eee388
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/job.py
Class Name:
Method Name: resources
Project Name: polyaxon/polyaxon
Commit Name: 3742f8f8586b4092869337bd0430af04e2eee388
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/job.py
Class Name:
Method Name: get