Skip to content

execution

Execution/Submission management for the web editor.

ExecutionManager

Manages workflow executions and their event queues.

cancel(run_id)

Cancel a running workflow by its id.

cancel_all_executions()

Cancel all currently running executions.

start_execution(workflow)

Start a new local execution of the provided workflow.

start_submit(workflow, backend_dir=None, dispatch_graph_name=None, project=None)

Export workflow, then submit to farm and watch backend_dir.

RunQueue

Per run_id event queue with index/cursor-based replay.

get_from(idx, timeout=0.5)

Block until new events are available or timeout.