6edd980972eabfd78759dcc3dcd08d063c663382,polyaxon_cli/cli/experiment.py,,delete,#Any#,90
Before Change
$ polyaxon experiment delete
```
user, project_name, experiment = ctx.obj["user"], ctx.obj["project_name"], ctx.obj["experiment"]
if not click.confirm("Are sure you want to delete experiment `{}`".format(experiment)):
click.echo("Existing without deleting experiment.")
sys.exit(1)
After Change
$ polyaxon experiment delete
```
user, project_name, experiment = get_experiment_or_local(ctx.obj["project"],
ctx.obj["experiment"])
if not click.confirm("Are sure you want to delete experiment `{}`".format(experiment)):
click.echo("Existing without deleting experiment.")
sys.exit(1)
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 8
Instances
Project Name: polyaxon/polyaxon
Commit Name: 6edd980972eabfd78759dcc3dcd08d063c663382
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/experiment.py
Class Name:
Method Name: delete
Project Name: polyaxon/polyaxon
Commit Name: 6edd980972eabfd78759dcc3dcd08d063c663382
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/experiment.py
Class Name:
Method Name: restart
Project Name: polyaxon/polyaxon
Commit Name: 6edd980972eabfd78759dcc3dcd08d063c663382
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/experiment.py
Class Name:
Method Name: statuses
Project Name: polyaxon/polyaxon
Commit Name: 6edd980972eabfd78759dcc3dcd08d063c663382
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/experiment.py
Class Name:
Method Name: resources
Project Name: polyaxon/polyaxon
Commit Name: 6edd980972eabfd78759dcc3dcd08d063c663382
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/experiment.py
Class Name:
Method Name: logs
Project Name: polyaxon/polyaxon
Commit Name: 6edd980972eabfd78759dcc3dcd08d063c663382
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/experiment.py
Class Name:
Method Name: stop
Project Name: polyaxon/polyaxon
Commit Name: 6edd980972eabfd78759dcc3dcd08d063c663382
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: 6edd980972eabfd78759dcc3dcd08d063c663382
Time: 2018-01-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/experiment.py
Class Name:
Method Name: jobs