We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fcc994 commit 5238117Copy full SHA for 5238117
dataikuapi/dss/flow.py
@@ -391,6 +391,12 @@ def get_graph(self):
391
data = self.client._perform_json("GET", "/projects/%s/flow/zones/%s/graph" % (self.flow.project.project_key, self.id))
392
return DSSProjectFlowGraph(self.flow, data)
393
394
+ def delete(self):
395
+ """
396
+ Delete the zone, all items will be moved to the default zone
397
398
+ return self.client._perform_empty("DELETE", "/projects/%s/flow/zones/%s" % (self.flow.project.project_key, self.id))
399
+
400
401
class DSSFlowZoneSettings(object):
402
"""The settings of a flow zone. Do not create this directly, use :meth:`DSSFlowZone.get_settings`"""
0 commit comments