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

Method manual_input_required

SpiffWorkflow/workflow.py:84–95  ·  view source on GitHub ↗

Checks whether the workflow requires manual input. Returns: bool: True if the workflow cannot proceed until manual tasks are complete

(self)

Source from the content-addressed store, hash-verified

82 return self.completed
83
84 def manual_input_required(self):
85 """Checks whether the workflow requires manual input.
86
87 Returns:
88 bool: True if the workflow cannot proceed until manual tasks are complete
89 """
90 iter = TaskIterator(self.task_tree, state=TaskState.READY, manual=False)
91 try:
92 next(iter)
93 except StopIteration:
94 return True
95 return False
96
97 def get_tasks(self, first_task=None, **kwargs):
98 """Returns a list of `Task`s that meet the conditions specified `kwargs`, starting from the root by default.

Callers

nothing calls this directly

Calls 1

TaskIteratorClass · 0.85

Tested by

no test coverage detected