server.web.routes.v2.fsm.workflow_run
Routes for WorkflowRuns.
Attributes
Functions
|
Add a workflow run to the db. |
|
Terminate a workflow run and get its tasks in order. |
|
Log a heartbeat for the workflow run to show that the client side is still alive. |
Update the status of the workflow run. |
|
|
Sync status of given task intance IDs. |
|
Two triaging related status sets. |
Module Contents
- server.web.routes.v2.fsm.workflow_run.terminate_workflow_run(workflow_run_id: int) Any[source]
Terminate a workflow run and get its tasks in order.
- server.web.routes.v2.fsm.workflow_run.log_workflow_run_heartbeat(workflow_run_id: int) Any[source]
Log a heartbeat for the workflow run to show that the client side is still alive.
- server.web.routes.v2.fsm.workflow_run.log_workflow_run_status_update(workflow_run_id: int) Any[source]
Update the status of the workflow run.
- server.web.routes.v2.fsm.workflow_run.task_instances_status_check(workflow_run_id: int) Any[source]
Sync status of given task intance IDs.
- server.web.routes.v2.fsm.workflow_run.set_status_for_triaging(workflow_run_id: int) Any[source]
Two triaging related status sets.
Query all task instances that are submitted to distributor or running which haven’t reported as alive in the allocated time, and set them for Triaging(from Running) and Kill_self(from Launched).