class documentation
class WorkflowOutboundInterceptor: (source)
Known subclasses: temporalio.contrib.openai_agents._trace_interceptor._ContextPropagationWorkflowOutboundInterceptor, temporalio.contrib.opentelemetry._TracingWorkflowOutboundInterceptor
Constructor: WorkflowOutboundInterceptor(next)
Outbound interceptor to wrap calls made from within workflows.
This should be extended by any workflow outbound interceptors.
| Method | __init__ |
Create the outbound interceptor. |
| Method | continue |
Called for every temporalio.workflow.continue_as_new call. |
| Method | info |
Called for every temporalio.workflow.info call. |
| Async Method | signal |
Called for every temporalio.workflow.ChildWorkflowHandle.signal call. |
| Async Method | signal |
Called for every temporalio.workflow.ExternalWorkflowHandle.signal call. |
| Method | start |
Called for every temporalio.workflow.start_activity and temporalio.workflow.execute_activity call. |
| Async Method | start |
Called for every temporalio.workflow.start_child_workflow and temporalio.workflow.execute_child_workflow call. |
| Method | start |
Called for every temporalio.workflow.start_local_activity and temporalio.workflow.execute_local_activity call. |
| Async Method | start |
Called for every temporalio.workflow.start_nexus_operation call. |
| Instance Variable | next |
Undocumented |
Create the outbound interceptor.
| Parameters | |
next:WorkflowOutboundInterceptor | The next interceptor in the chain. The default implementation of all calls is to delegate to the next interceptor. |
def start_activity(self, input:
StartActivityInput) -> temporalio.workflow.ActivityHandle[ Any]:
(source)
¶
async def start_child_workflow(self, input:
StartChildWorkflowInput) -> temporalio.workflow.ChildWorkflowHandle[ Any, Any]:
(source)
¶
def start_local_activity(self, input:
StartLocalActivityInput) -> temporalio.workflow.ActivityHandle[ Any]:
(source)
¶
async def start_nexus_operation(self, input:
StartNexusOperationInput[ InputT, OutputT]) -> temporalio.workflow.NexusOperationHandle[ OutputT]:
(source)
¶
Called for every temporalio.workflow.start_nexus_operation call.