We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a743e3 commit 4beb724Copy full SHA for 4beb724
nucleus/__init__.py
@@ -838,6 +838,24 @@ def delete_slice(self, slice_id: str) -> dict:
838
)
839
return response
840
841
+ def delete_model(self, model_id: str) -> dict:
842
+ """
843
+ This endpoint deletes the specified model, along with all
844
+ associated model_runs.
845
+
846
+ :param
847
+ model_id: id of the model_run to delete.
848
849
+ :return:
850
+ {}
851
852
+ response = self._make_request(
853
+ {},
854
+ f"model/{model_id}",
855
+ requests_command=requests.delete,
856
+ )
857
+ return response
858
859
def _make_grequest(
860
self,
861
payload: dict,
0 commit comments