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 38913d6 commit 5ccc844Copy full SHA for 5ccc844
nucleus/__init__.py
@@ -1155,6 +1155,16 @@ def list_autotags(self, dataset_id: str) -> List[str]:
1155
)
1156
return response[AUTOTAGS_KEY] if AUTOTAGS_KEY in response else response
1157
1158
+ def delete_autotag(self, autotag_id: str) -> dict:
1159
+ """
1160
+ Deletes an autotag based on autotagId.
1161
+ Returns an empty payload where response status `200` indicates
1162
+ the autotag has been successfully deleted.
1163
+ :param autotag_id: id of the autotag to delete.
1164
+ :return: {}
1165
1166
+ return self.make_request({}, f"autotag/{autotag_id}", requests.delete)
1167
+
1168
def delete_model(self, model_id: str) -> dict:
1169
"""
1170
This endpoint deletes the specified model, along with all
0 commit comments