module documentation

Workflow worker runner and instance.

Class HandlerExecution Information about an execution of a signal or update handler.
Class PatchActivationInput Input for the worker patch activation callback.
Class UnsandboxedWorkflowRunner Workflow runner that does not do any sandboxing.
Class WorkflowInstance Instance of a workflow that can handle activations.
Class WorkflowInstanceDetails Immutable details for creating a workflow instance.
Class WorkflowRunner Abstract runner for workflows that creates workflow instances to run.
Constant LOG_IGNORE_DURING_DELETE Undocumented
Variable logger Undocumented
Class _ActivityHandle Undocumented
Class _ChildWorkflowHandle Undocumented
Class _ExternalWorkflowHandle Undocumented
Class _NexusOperationHandle Undocumented
Class _ReplaySafeMetricCommon Undocumented
Class _ReplaySafeMetricCounter Undocumented
Class _ReplaySafeMetricGauge Undocumented
Class _ReplaySafeMetricGaugeFloat Undocumented
Class _ReplaySafeMetricHistogram Undocumented
Class _ReplaySafeMetricHistogramFloat Undocumented
Class _ReplaySafeMetricHistogramTimedelta Undocumented
Class _ReplaySafeMetricMeter Undocumented
Class _TimerHandle Undocumented
Class _TimerOptions Undocumented
Class _WorkflowExternFunctions Undocumented
Class _WorkflowInboundImpl Undocumented
Class _WorkflowInstanceImpl No class docstring; 0/68 instance variable, 0/1 type variable, 2/115 methods documented
Class _WorkflowOutboundImpl Undocumented
Exception _ActivityDoBackoffError Undocumented
Exception _ContinueAsNewError Undocumented
Exception _WorkflowBeingEvictedError Undocumented
Function _encode_search_attributes Undocumented
Function _make_unfinished_signal_handler_message Undocumented
Function _make_unfinished_update_handler_message Undocumented
Async Function _shield_await Await a future without cancelling it if the awaiting task is cancelled.
Type Variable _MetricType Undocumented
Type Variable _T Undocumented
Type Alias _Context Undocumented
Type Alias _ExceptionHandler Undocumented
Variable _TimerOptionsCtxVar Undocumented
LOG_IGNORE_DURING_DELETE: bool = (source)

Undocumented

Value
False

Undocumented

def _make_unfinished_signal_handler_message(handler_executions: list[HandlerExecution]) -> str: (source)

Undocumented

def _make_unfinished_update_handler_message(handler_executions: list[HandlerExecution]) -> str: (source)

Undocumented

async def _shield_await(fut: asyncio.Future[Any]) -> Any: (source)

Await a future without cancelling it if the awaiting task is cancelled.

This behaves like asyncio.shield(fut) but avoids the spurious "exception in shielded future" error log on Python 3.11+ when the awaiting task is cancelled and the future eventually fails.

_MetricType = (source)

Undocumented

Value
TypeVar('_MetricType',
        bound=temporalio.common.MetricCommon)

Undocumented

Value
TypeVar('_T')

Undocumented

Value
dict[str, Any]
_ExceptionHandler: TypeAlias = (source)

Undocumented