Content-Length: 258109 | pFad | https://github.com/googleapis/python-aiplatform/commit/9922eb26ac1bdf7d99950cb5c85c02998197dc59

4A docs: adds note to delete endpoint sample (#2060) · googleapis/python-aiplatform@9922eb2 · GitHub
Skip to content

Commit 9922eb2

Browse files
authored
docs: adds note to delete endpoint sample (#2060)
* docs: adds note to delete endpoint sample * linter
1 parent 3e1b206 commit 9922eb2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/snippets/endpoint_service/delete_endpoint_sample.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def delete_endpoint_sample(
3131
name = client.endpoint_path(
3232
project=project, location=location, endpoint=endpoint_id
3333
)
34+
# NOTE: Be sure to undeploy any models served from the endpoint before
35+
# attempting to delete it.
3436
response = client.delete_endpoint(name=name)
3537
print("Long running operation:", response.operation.name)
3638
delete_endpoint_response = response.result(timeout=timeout)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/python-aiplatform/commit/9922eb26ac1bdf7d99950cb5c85c02998197dc59

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy