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: Optional[ contextvars.Context]
= None) -> asyncio.TimerHandle
:
(source)
¶
Undocumented
float
, callback: Callable[ ..., Any]
, *args: Any
, context: Optional[ contextvars.Context]
= None) -> asyncio.TimerHandle
:
(source)
¶
Undocumented
Callable[ ..., Any]
, *args: Any
, context: Optional[ contextvars.Context]
= None) -> asyncio.Handle
:
(source)
¶
Undocumented
Union[ Awaitable[ _T], Generator[ Any, None, _T]]
, *, name: Optional[ str]
= None, context: Optional[ contextvars.Context]
= None) -> asyncio.Task[ _T]
:
(source)
¶
Undocumented
Any
, workflow: Union[ None, Callable, str]
, task_queue: Optional[ str]
, run_timeout: Optional[ timedelta]
, task_timeout: Optional[ timedelta]
, retry_policy: Optional[ temporalio.common.RetryPolicy]
, memo: Optional[ Mapping[ str, Any]]
, search_attributes: Optional[ Union[ temporalio.common.SearchAttributes, temporalio.common.TypedSearchAttributes]]
, versioning_intent: Optional[ temporalio.workflow.VersioningIntent]
) -> NoReturn
:
(source)
¶
Undocumented
str
, *, run_id: Optional[ str]
) -> temporalio.workflow.ExternalWorkflowHandle[ Any]
:
(source)
¶
Undocumented
str
, default: Any
, *, type_hint: Optional[ Type]
) -> Any
:
(source)
¶
Undocumented
Optional[ str]
, handler: Optional[ Callable]
, validator: Optional[ Callable]
):
(source)
¶
Undocumented
Any
, *args: Any
, task_queue: Optional[ str]
, result_type: Optional[ Type]
, schedule_to_close_timeout: Optional[ timedelta]
, schedule_to_start_timeout: Optional[ timedelta]
, start_to_close_timeout: Optional[ timedelta]
, heartbeat_timeout: Optional[ timedelta]
, retry_policy: Optional[ temporalio.common.RetryPolicy]
, cancellation_type: temporalio.workflow.ActivityCancellationType
, activity_id: Optional[ str]
, versioning_intent: Optional[ temporalio.workflow.VersioningIntent]
, summary: Optional[ str]
= None) -> temporalio.workflow.ActivityHandle[ Any]
:
(source)
¶
Undocumented
Any
, *args: Any
, id: str
, task_queue: Optional[ str]
, result_type: Optional[ Type]
, cancellation_type: temporalio.workflow.ChildWorkflowCancellationType
, parent_close_policy: temporalio.workflow.ParentClosePolicy
, execution_timeout: Optional[ timedelta]
, run_timeout: Optional[ timedelta]
, task_timeout: Optional[ timedelta]
, id_reuse_policy: temporalio.common.WorkflowIDReusePolicy
, retry_policy: Optional[ temporalio.common.RetryPolicy]
, cron_schedule: str
, memo: Optional[ Mapping[ str, Any]]
, search_attributes: Optional[ Union[ temporalio.common.SearchAttributes, temporalio.common.TypedSearchAttributes]]
, versioning_intent: Optional[ temporalio.workflow.VersioningIntent]
, static_summary: Optional[ str]
= None, static_details: Optional[ str]
= None) -> temporalio.workflow.ChildWorkflowHandle[ Any, Any]
:
(source)
¶
Undocumented
Any
, *args: Any
, result_type: Optional[ Type]
, schedule_to_close_timeout: Optional[ timedelta]
, schedule_to_start_timeout: Optional[ timedelta]
, start_to_close_timeout: Optional[ timedelta]
, retry_policy: Optional[ temporalio.common.RetryPolicy]
, local_retry_threshold: Optional[ timedelta]
, cancellation_type: temporalio.workflow.ActivityCancellationType
, activity_id: Optional[ str]
) -> temporalio.workflow.ActivityHandle[ Any]
:
(source)
¶
Undocumented
Union[ temporalio.common.SearchAttributes, Sequence[ temporalio.common.SearchAttributeUpdate]]
):
(source)
¶
Undocumented
Callable[ [], bool]
, *, timeout: Optional[ float]
= None, timeout_summary: Optional[ str]
= 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: Optional[ List[ Type]]
) -> List[ Any]
:
(source)
¶
Undocumented
temporalio.bridge.proto.workflow_activation.InitializeWorkflow
) -> ExecuteWorkflowInput
:
(source)
¶
Undocumented
Union[ StartActivityInput, StartLocalActivityInput]
) -> _ActivityHandle
:
(source)
¶
Undocumented
StartChildWorkflowInput
) -> _ChildWorkflowHandle
:
(source)
¶
Undocumented
str
, job_input: Sequence[ temporalio.api.common.v1.Payload]
, defn_name: Optional[ str]
, defn_arg_types: Optional[ List[ Type]]
, 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: Optional[ contextvars.Context]
= None):
(source)
¶
Undocumented