class _WorkflowInstanceImpl(WorkflowInstance, temporalio.workflow._Runtime, asyncio.AbstractEventLoop): (source)
Constructor: _WorkflowInstanceImpl(det)
Undocumented
Method | __init__ |
Undocumented |
Method | activate |
Handle an activation and return completion. |
Method | call |
Undocumented |
Method | call |
Undocumented |
Method | call |
Undocumented |
Method | call |
Undocumented |
Method | create |
Undocumented |
Method | create |
Undocumented |
Method | default |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Return the thread identifier that this workflow is running on. |
Method | set |
Undocumented |
Method | time |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Async Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Async Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Method | workflow |
Undocumented |
Async Method | workflow |
Undocumented |
Method | _add |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Method | _as |
Undocumented |
Method | _assert |
Undocumented |
Async Method | _cancel |
Undocumented |
Method | _check |
Undocumented |
Method | _convert |
Undocumented |
Method | _enhanced |
Undocumented |
Method | _instantiate |
Undocumented |
Method | _is |
Undocumented |
Method | _make |
Undocumented |
Method | _next |
Undocumented |
Method | _outbound |
Undocumented |
Method | _outbound |
Undocumented |
Async Method | _outbound |
Undocumented |
Async Method | _outbound |
Undocumented |
Async Method | _outbound |
Undocumented |
Method | _process |
Undocumented |
Method | _process |
Undocumented |
Method | _register |
Undocumented |
Method | _run |
Undocumented |
Async Method | _run |
Undocumented |
Method | _set |
Undocumented |
Async Method | _signal |
Undocumented |
Method | _stack |
Undocumented |
Method | _temporal |
Undocumented |
Method | _timer |
Undocumented |
Method | _timer |
Undocumented |
Method | _warn |
Undocumented |
Instance Variable | _buffered |
Undocumented |
Instance Variable | _cancel |
Undocumented |
Instance Variable | _conditions |
Undocumented |
Instance Variable | _continue |
Undocumented |
Instance Variable | _curr |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _defn |
Undocumented |
Instance Variable | _deleting |
Undocumented |
Instance Variable | _disable |
Undocumented |
Instance Variable | _exception |
Undocumented |
Instance Variable | _extern |
Undocumented |
Instance Variable | _failure |
Undocumented |
Instance Variable | _handled |
Undocumented |
Instance Variable | _in |
Undocumented |
Instance Variable | _in |
Undocumented |
Instance Variable | _inbound |
Undocumented |
Instance Variable | _info |
Undocumented |
Instance Variable | _is |
Undocumented |
Instance Variable | _memo |
Undocumented |
Instance Variable | _metric |
Undocumented |
Instance Variable | _object |
Undocumented |
Instance Variable | _outbound |
Undocumented |
Instance Variable | _patches |
Undocumented |
Instance Variable | _patches |
Undocumented |
Instance Variable | _payload |
Undocumented |
Instance Variable | _pending |
Undocumented |
Instance Variable | _pending |
Undocumented |
Instance Variable | _pending |
Undocumented |
Instance Variable | _pending |
Undocumented |
Instance Variable | _pending |
Undocumented |
Instance Variable | _primary |
Undocumented |
Instance Variable | _queries |
Undocumented |
Instance Variable | _random |
Undocumented |
Instance Variable | _read |
Undocumented |
Instance Variable | _ready |
Undocumented |
Instance Variable | _signals |
Undocumented |
Instance Variable | _tasks |
Undocumented |
Instance Variable | _time |
Undocumented |
Instance Variable | _updates |
Undocumented |
Instance Variable | _worker |
Undocumented |
Instance Variable | _workflow |
Undocumented |
Inherited from _Runtime
(via WorkflowInstance
):
Static Method | current |
Undocumented |
Static Method | maybe |
Undocumented |
Static Method | set |
Undocumented |
Property | logger |
Undocumented |
Instance Variable | _logger |
Undocumented |
temporalio.bridge.proto.workflow_activation.WorkflowActivation
) -> temporalio.bridge.proto.workflow_completion.WorkflowActivationCompletion
:
(source)
¶
Handle an activation and return completion.
This should never raise an exception, but instead catch all exceptions and set as completion failure.
Parameters | |
act:temporalio.bridge.proto.workflow_activation.WorkflowActivation | Protobuf activation. |
Returns | |
temporalio.bridge.proto.workflow_completion.WorkflowActivationCompletion | Completion object with successful commands set or failure info set. |
float
, callback: Callable[ ..., Any]
, *args: Any
, context: contextvars.Context | None
= None) -> asyncio.TimerHandle
:
(source)
¶
Undocumented
float
, callback: Callable[ ..., Any]
, *args: Any
, context: contextvars.Context | None
= None) -> asyncio.TimerHandle
:
(source)
¶
Undocumented
Callable[ ..., Any]
, *args: Any
, context: contextvars.Context | None
= None) -> asyncio.Handle
:
(source)
¶
Undocumented
Awaitable[ _T] | Generator[ Any, None, _T]
, *, name: str | None
= None, context: contextvars.Context | None
= None) -> asyncio.Task[ _T]
:
(source)
¶
Undocumented
Any
, workflow: None | Callable | str
, task_queue: str | None
, run_timeout: timedelta | None
, task_timeout: timedelta | None
, retry_policy: temporalio.common.RetryPolicy | None
, memo: Mapping[ str, Any] | None
, search_attributes: temporalio.common.SearchAttributes | temporalio.common.TypedSearchAttributes | None
, versioning_intent: temporalio.workflow.VersioningIntent | None
) -> NoReturn
:
(source)
¶
Undocumented
str
, *, run_id: str | None
) -> temporalio.workflow.ExternalWorkflowHandle[ Any]
:
(source)
¶
Undocumented
str | None
, handler: Callable | None
, validator: Callable | None
):
(source)
¶
Undocumented
Any
, *args: Any
, task_queue: str | None
, result_type: type | None
, schedule_to_close_timeout: timedelta | None
, schedule_to_start_timeout: timedelta | None
, start_to_close_timeout: timedelta | None
, heartbeat_timeout: timedelta | None
, retry_policy: temporalio.common.RetryPolicy | None
, cancellation_type: temporalio.workflow.ActivityCancellationType
, activity_id: str | None
, versioning_intent: temporalio.workflow.VersioningIntent | None
, summary: str | None
= None) -> temporalio.workflow.ActivityHandle[ Any]
:
(source)
¶
Undocumented
Any
, *args: Any
, id: str
, task_queue: str | None
, result_type: type | None
, cancellation_type: temporalio.workflow.ChildWorkflowCancellationType
, parent_close_policy: temporalio.workflow.ParentClosePolicy
, execution_timeout: timedelta | None
, run_timeout: timedelta | None
, task_timeout: timedelta | None
, id_reuse_policy: temporalio.common.WorkflowIDReusePolicy
, retry_policy: temporalio.common.RetryPolicy | None
, cron_schedule: str
, memo: Mapping[ str, Any] | None
, search_attributes: temporalio.common.SearchAttributes | temporalio.common.TypedSearchAttributes | None
, versioning_intent: temporalio.workflow.VersioningIntent | None
, static_summary: str | None
= None, static_details: str | None
= None) -> temporalio.workflow.ChildWorkflowHandle[ Any, Any]
:
(source)
¶
Undocumented
Any
, *args: Any
, result_type: type | None
, schedule_to_close_timeout: timedelta | None
, schedule_to_start_timeout: timedelta | None
, start_to_close_timeout: timedelta | None
, retry_policy: temporalio.common.RetryPolicy | None
, local_retry_threshold: timedelta | None
, cancellation_type: temporalio.workflow.ActivityCancellationType
, activity_id: str | None
) -> temporalio.workflow.ActivityHandle[ Any]
:
(source)
¶
Undocumented
temporalio.common.SearchAttributes | Sequence[ temporalio.common.SearchAttributeUpdate]
):
(source)
¶
Undocumented
Callable[ [], bool]
, *, timeout: float | None
= None, timeout_summary: str | None
= None):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.WorkflowActivationJob
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.CancelWorkflow
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.InitializeWorkflow
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.NotifyHasPatch
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.QueryWorkflow
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.RemoveFromCache
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.ResolveActivity
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.ResolveChildWorkflowExecution
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.ResolveChildWorkflowExecutionStart
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.ResolveRequestCancelExternalWorkflow
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.ResolveSignalExternalWorkflow
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.SignalWorkflow
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.UpdateRandomSeed
):
(source)
¶
Undocumented
str
, *, allow_during_delete: bool
= False):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_commands.WorkflowCommand
):
(source)
¶
Undocumented
Sequence[ temporalio.api.common.v1.Payload]
, types: list[ type] | None
) -> list[ Any]
:
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.InitializeWorkflow
) -> ExecuteWorkflowInput
:
(source)
¶
Undocumented
StartActivityInput | StartLocalActivityInput
) -> _ActivityHandle
:
(source)
¶
Undocumented
StartChildWorkflowInput
) -> _ChildWorkflowHandle
:
(source)
¶
Undocumented
str
, job_input: Sequence[ temporalio.api.common.v1.Payload]
, defn_name: str | None
, defn_arg_types: list[ type] | None
, defn_dynamic_vararg: bool
) -> list[ Any]
:
(source)
¶
Undocumented
temporalio.workflow._SignalDefinition
, job: temporalio.bridge.proto.workflow_activation.SignalWorkflow
):
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_commands.WorkflowCommand
):
(source)
¶
Undocumented
float
, options: _TimerOptions
, callback: Callable[ ..., Any]
, *args: Any
, context: contextvars.Context | None
= None):
(source)
¶
Undocumented