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

Method _run_hook

SpiffWorkflow/specs/SubWorkflow.py:111–118  ·  view source on GitHub ↗
(self, my_task)

Source from the content-addressed store, hash-verified

109 my_task._set_state(TaskState.WAITING)
110
111 def _run_hook(self, my_task):
112 # Assign variables, if so requested.
113 subworkflow = my_task._get_internal_data('subworkflow')
114 for child in subworkflow.task_tree.children:
115 for assignment in self.in_assign:
116 assignment.assign(my_task, child)
117 child.task_spec._update(child)
118 return True
119
120 def _update_hook(self, my_task):
121 super()._update_hook(my_task)

Callers

nothing calls this directly

Calls 3

_get_internal_dataMethod · 0.80
assignMethod · 0.80
_updateMethod · 0.80

Tested by

no test coverage detected