module documentation

Workflow worker.

Constant LOG_PROTOS Undocumented
Variable logger Undocumented
Class _CommandAwareDataConverter Data converter that resolves serialization context per-command.
Class _RunningWorkflow Undocumented
Class _WorkflowWorker No class docstring; 0/25 instance variable, 1/12 method documented
Exception _DeadlockError Exception class for deadlocks. Contains functionality to swap the default traceback for another.
Exception _InterruptDeadlockError Undocumented
Function _set_external_storage_metrics Populate a proto ExternalStorageMetrics from measured storage metrics.
Function _take_nexus_previous_run_outcome Move a Nexus-started workflow's previous run outcome out of init.
Constant _DEFAULT_WORKFLOW_TASK_EXTERNAL_STORAGE_CONCURRENCY Undocumented
LOG_PROTOS: bool = (source)

Undocumented

Value
False

Undocumented

Populate a proto ExternalStorageMetrics from measured storage metrics.

Move a Nexus-started workflow's previous run outcome out of init.

A retried or cron run of a workflow started by a Nexus operation handler receives the previous run's failure and result, which that run encoded with the Nexus context. The rest of init, such as the input and memo, keeps the workflow context.

_DEFAULT_WORKFLOW_TASK_EXTERNAL_STORAGE_CONCURRENCY: int = (source)

Undocumented

Value
3