Skip to content

Commit e301ef8

Browse files
authored
Added missing dropDepends method to the Python API. (#819)
1 parent b7cbfb2 commit e301ef8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pycue/opencue/wrappers/frame.py

+6
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ def createDependencyOnFrame(self, frame):
152152
timeout=Cuebot.Timeout)
153153
return opencue.wrappers.depend.Depend(response.depend)
154154

155+
def dropDepends(self, target):
156+
"""Drops every dependency that is causing this frame not to run."""
157+
self.stub.DropDepends(
158+
job_pb2.FrameDropDependsRequest(frame=self.data, target=target),
159+
timeout=Cuebot.Timeout)
160+
155161
def markAsWaiting(self):
156162
"""Mark the frame as waiting, similar to drop depends. The frame will be
157163
able to run even if the job has an external dependency."""

0 commit comments

Comments
 (0)