server.web.routes.v2.fsm.array

Routes for Arrays.

Attributes

logger

Functions

add_array(→ Any)

Return an array ID by workflow and task template version ID.

record_array_batch_num(→ Any)

Record a batch number to associate sets of task instances with an array submission.

transition_array_to_launched(→ Any)

Transition TIs associated with an array_id and batch_num to launched.

_update_task_instance(→ None)

log_array_distributor_id(→ Any)

Add distributor_id, stderr/stdout paths to the DB for all TIs in an array.

Module Contents

server.web.routes.v2.fsm.array.logger[source]
server.web.routes.v2.fsm.array.add_array() Any[source]

Return an array ID by workflow and task template version ID.

If not found, bind the array.

server.web.routes.v2.fsm.array.record_array_batch_num(array_id: int) Any[source]

Record a batch number to associate sets of task instances with an array submission.

server.web.routes.v2.fsm.array.transition_array_to_launched(array_id: int) 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]
server.web.routes.v2.fsm.array.log_array_distributor_id(array_id: int) Any[source]

Add distributor_id, stderr/stdout paths to the DB for all TIs in an array.