server.web.routes.v2.fsm.array
Routes for Arrays.
Attributes
Functions
|
Return an array ID by workflow and task template version ID. |
|
Record a batch number to associate sets of task instances with an array submission. |
|
Transition TIs associated with an array_id and batch_num to launched. |
|
|
|
Add distributor_id, stderr/stdout paths to the DB for all TIs in an array. |
Return the maximum concurrency of this array. |
|
|
Transition TIs from KILL_SELF to ERROR_FATAL. |
|
Bulk update TaskInstances in (array_id, batch_num) from KILL_SELF. |
Module Contents
- async server.web.routes.v2.fsm.array.add_array(request: fastapi.Request) Any[source]
Return an array ID by workflow and task template version ID.
If not found, bind the array.
- async server.web.routes.v2.fsm.array.record_array_batch_num(array_id: int, request: fastapi.Request) Any[source]
Record a batch number to associate sets of task instances with an array submission.
- async server.web.routes.v2.fsm.array.transition_array_to_launched(array_id: int, request: fastapi.Request) Any[source]
Transition TIs associated with an array_id and batch_num to launched.
- server.web.routes.v2.fsm.array._update_task_instance(array_id: int, batch_num: int, next_report: int) None[source]
- async server.web.routes.v2.fsm.array.log_array_distributor_id(array_id: int, request: fastapi.Request) Any[source]
Add distributor_id, stderr/stdout paths to the DB for all TIs in an array.
- async server.web.routes.v2.fsm.array.get_array_max_concurrently_running(array_id: int | None = None, workflow_id: int | None = None, task_template_version_id: int | None = None) Any[source]
Return the maximum concurrency of this array.