[serve] Add delete_endpoint call (#8256)

This commit is contained in:
Edward Oakes
2020-04-30 20:59:07 -05:00
committed by GitHub
parent 484f68765c
commit 95d187e556
8 changed files with 132 additions and 29 deletions
+7
View File
@@ -108,6 +108,13 @@ model that you'll be serving. To create one, we'll simply specify the name, rout
serve.create_endpoint("simple_endpoint", "/simple")
You can also delete an endpoint using `serve.delete_endpoint`.
Note that this will not delete any associated backends, which can be reused for other endpoints.
.. code-block:: python
serve.delete_endpoint("simple_endpoint")
.. _serve-backend:
Backends