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 2610e21 commit 1a1de4fCopy full SHA for 1a1de4f
dataikuapi/dss/plugin.py
@@ -144,8 +144,8 @@ def delete(self, force=False):
144
}
145
ret = self.client._perform_json("POST", "/plugins/{pluginId}/actions/delete".format(pluginId=self.plugin_id),
146
body=params)
147
- if "projectCount" in ret:
148
- raise DataikuException("Plugin has usages or analysis errors.")
+ if "state" not in ret:
+ raise DataikuException("Plugin has usages or analysis errors. See list_usages() for more info.")
149
return self.client.get_future(ret.get("jobId", None))
150
151
########################################################
0 commit comments