MCPcopy
hub / github.com/sartography/SpiffWorkflow / complete

Method complete

SpiffWorkflow/task.py:370–373  ·  view source on GitHub ↗

Marks this task complete.

(self)

Source from the content-addressed store, hash-verified

368 self.task_spec._on_cancel(self)
369
370 def complete(self):
371 """Marks this task complete."""
372 self._set_state(TaskState.COMPLETED)
373 self.task_spec._on_complete(self)
374
375 def error(self):
376 """Marks this task as error."""

Callers 3

runMethod · 0.95
_update_hookMethod · 0.80
testStartedStateMethod · 0.80

Calls 2

_set_stateMethod · 0.95
_on_completeMethod · 0.80

Tested by 1

testStartedStateMethod · 0.64