diff --git a/pycue/opencue/wrappers/frame.py b/pycue/opencue/wrappers/frame.py index 114a95221..39f32bd55 100644 --- a/pycue/opencue/wrappers/frame.py +++ b/pycue/opencue/wrappers/frame.py @@ -159,6 +159,15 @@ def markAsWaiting(self): job_pb2.FrameMarkAsWaitingRequest(frame=self.data), timeout=Cuebot.Timeout) + def setCheckpointState(self, checkPointState): + """Sets the checkPointState of the frame + :param checkPointState: job_pb.CheckpointState(Int) + :return: + """ + self.stub.SetCheckpointState( + job_pb2.FrameSetCheckpointStateRequest(frame=self.data, state=checkPointState) + ) + def id(self): """Returns the id of the frame. :rtype: str