We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba30d48 commit 0d9a160Copy full SHA for 0d9a160
dataikuapi/dss/scenario.py
@@ -156,6 +156,13 @@ def get_average_duration(self, limit=3):
156
return None
157
return sum([run.get_duration() for run in last_runs]) / len(last_runs)
158
159
+ def delete(self):
160
+ """
161
+ Deletes this scenario
162
163
+ return self.client._perform_json(
164
+ "DELETE", "/projects/%s/scenarios/%s" % (self.project_key, self.id))
165
+
166
########################################################
167
# Discussions
168
0 commit comments