module documentation
Workflow worker.
| Constant | LOG |
Undocumented |
| Variable | logger |
Undocumented |
| Class | _ |
Data converter that resolves serialization context per-command. |
| Class | _ |
Undocumented |
| Class | _ |
No class docstring; 0/25 instance variable, 1/12 method documented |
| Exception | _ |
Exception class for deadlocks. Contains functionality to swap the default traceback for another. |
| Exception | _ |
Undocumented |
| Function | _set |
Populate a proto ExternalStorageMetrics from measured storage metrics. |
| Function | _take |
Move a Nexus-started workflow's previous run outcome out of init. |
| Constant | _DEFAULT |
Undocumented |
def _set_external_storage_metrics(target:
temporalio.bridge.proto.common.ExternalStorageMetrics, metrics: temporalio.converter._extstore.StorageOperationMetrics):
(source)
¶
Populate a proto ExternalStorageMetrics from measured storage metrics.
def _take_nexus_previous_run_outcome(init:
temporalio.bridge.proto.workflow_activation.InitializeWorkflow) -> temporalio.bridge.proto.workflow_activation.InitializeWorkflow | None:
(source)
¶
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.