MCPcopy Index your code
hub / github.com/StackStorm/st2 / get_task_ex

Method get_task_ex

st2tests/st2tests/base.py:728–733  ·  view source on GitHub ↗
(self, task_id, route)

Source from the content-addressed store, hash-verified

726 return wf_ex_db
727
728 def get_task_ex(self, task_id, route):
729 task_ex_dbs = wf_db_access.TaskExecution.query(
730 task_id=task_id, task_route=route
731 )
732 self.assertGreater(len(task_ex_dbs), 0)
733 return task_ex_dbs[0]
734
735 def get_action_exs(self, task_ex_id):
736 ac_ex_dbs = ex_db_access.ActionExecution.query(task_execution=task_ex_id)

Callers 1

assert_task_runningMethod · 0.95

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected