Skip to content

Arpin uncomment delete #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 4, 2017
Merged

Arpin uncomment delete #130

merged 4 commits into from
Dec 4, 2017

Conversation

djarpin
Copy link
Contributor

@djarpin djarpin commented Dec 4, 2017

We've decided to uncomment out endpoint deletion as a best practice for examples.

"#sage.delete_endpoint(EndpointName=endpoint_name)\n",
"#sage.delete_model(ModelName=model_name)"
"sage.delete_endpoint(EndpointName=endpoint_name)\n",
"sage.delete_model(ModelName=model_name)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

"#sage.delete_endpoint(EndpointName=endpoint_name)\n",
"#sage.delete_model(ModelName=model_name)"
"sage.delete_endpoint(EndpointName=endpoint_name)\n",
"sage.delete_model(ModelName=model_name)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of the other notebooks delete the model, so should we remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@@ -209,7 +209,7 @@
},
"outputs": [],
"source": [
"# m.delete_endpoint()"
"m.delete_endpoint()"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want to keep this method on the estimator longer term. Can you change this to use the session to delete it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@djarpin djarpin merged commit 9d866f6 into master Dec 4, 2017
@djarpin djarpin deleted the arpin_uncomment_delete branch December 16, 2017 07:10
ajaykarpur pushed a commit that referenced this pull request Dec 8, 2020
* update file pattern

* drop empty line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants