temporalio.client.OutboundInterceptor
class documentation
class OutboundInterceptor: (source)
Known subclasses: temporalio.client._ClientImpl, temporalio.contrib.openai_agents._trace_interceptor._ContextPropagationClientOutboundInterceptor, temporalio.contrib.opentelemetry._interceptor._TracingClientOutboundInterceptor, temporalio.contrib.opentelemetry._otel_interceptor._TracingClientOutboundInterceptor, temporalio.testing._workflow._TimeSkippingClientOutboundInterceptor
Constructor: OutboundInterceptor(next)
OutboundInterceptor for intercepting client calls.
This should be extended by any client outbound interceptors.
def __init__(self, next: OutboundInterceptor):
(source)
¶
overridden in temporalio.client._ClientImpl, temporalio.contrib.openai_agents._trace_interceptor._ContextPropagationClientOutboundInterceptor, temporalio.contrib.opentelemetry._interceptor._TracingClientOutboundInterceptor, temporalio.contrib.opentelemetry._otel_interceptor._TracingClientOutboundInterceptor, temporalio.testing._workflow._TimeSkippingClientOutboundInterceptor
Create the outbound interceptor.
| Parameters | |
next:OutboundInterceptor | The next interceptor in the chain. The default implementation of all calls is to delegate to the next interceptor. |
async def backfill_schedule(self, input: BackfillScheduleInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every ScheduleHandle.backfill call.
async def cancel_activity(self, input: CancelActivityInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every ActivityHandle.cancel call.
Warning
This API is experimental.
async def cancel_workflow(self, input: CancelWorkflowInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every WorkflowHandle.cancel call.
async def complete_async_activity(self, input: CompleteAsyncActivityInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every AsyncActivityHandle.complete call.
async def count_activities(self, input: CountActivitiesInput) -> ActivityExecutionCount:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every Client.count_activities call.
Warning
This API is experimental.
async def count_workflows(self, input: CountWorkflowsInput) -> WorkflowExecutionCount:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every Client.count_workflows call.
async def create_schedule(self, input: CreateScheduleInput) -> ScheduleHandle:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every Client.create_schedule call.
async def delete_schedule(self, input: DeleteScheduleInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every ScheduleHandle.delete call.
async def describe_activity(self, input: DescribeActivityInput) -> ActivityExecutionDescription:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every ActivityHandle.describe call.
Warning
This API is experimental.
async def describe_schedule(self, input: DescribeScheduleInput) -> ScheduleDescription:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every ScheduleHandle.describe call.
async def describe_workflow(self, input: DescribeWorkflowInput) -> WorkflowExecutionDescription:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every WorkflowHandle.describe call.
async def fail_async_activity(self, input: FailAsyncActivityInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every AsyncActivityHandle.fail call.
def fetch_workflow_history_events(self, input: FetchWorkflowHistoryEventsInput) -> WorkflowHistoryEventAsyncIterator:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every WorkflowHandle.fetch_history_events call.
async def get_worker_build_id_compatibility(self, input: GetWorkerBuildIdCompatibilityInput) -> WorkerBuildIdVersionSets:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every Client.get_worker_build_id_compatibility call.
async def get_worker_task_reachability(self, input: GetWorkerTaskReachabilityInput) -> WorkerTaskReachability:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every Client.get_worker_task_reachability call.
async def heartbeat_async_activity(self, input: HeartbeatAsyncActivityInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every AsyncActivityHandle.heartbeat call.
def list_activities(self, input: ListActivitiesInput) -> ActivityExecutionAsyncIterator:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every Client.list_activities call.
Warning
This API is experimental.
def list_schedules(self, input: ListSchedulesInput) -> ScheduleAsyncIterator:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every Client.list_schedules call.
def list_workflows(self, input: ListWorkflowsInput) -> WorkflowExecutionAsyncIterator:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every Client.list_workflows call.
async def pause_schedule(self, input: PauseScheduleInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every ScheduleHandle.pause call.
async def query_workflow(self, input: QueryWorkflowInput) -> Any:
(source)
¶
overridden in temporalio.client._ClientImpl, temporalio.contrib.openai_agents._trace_interceptor._ContextPropagationClientOutboundInterceptor, temporalio.contrib.opentelemetry._interceptor._TracingClientOutboundInterceptor, temporalio.contrib.opentelemetry._otel_interceptor._TracingClientOutboundInterceptor
Called for every WorkflowHandle.query call.
async def report_cancellation_async_activity(self, input: ReportCancellationAsyncActivityInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every AsyncActivityHandle.report_cancellation call.
async def signal_workflow(self, input: SignalWorkflowInput):
(source)
¶
overridden in temporalio.client._ClientImpl, temporalio.contrib.openai_agents._trace_interceptor._ContextPropagationClientOutboundInterceptor, temporalio.contrib.opentelemetry._interceptor._TracingClientOutboundInterceptor, temporalio.contrib.opentelemetry._otel_interceptor._TracingClientOutboundInterceptor
Called for every WorkflowHandle.signal call.
async def start_activity(self, input: StartActivityInput) -> ActivityHandle[:
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every Client.start_activity call.
Warning
This API is experimental.
async def start_update_with_start_workflow(self, input: StartWorkflowUpdateWithStartInput) -> WorkflowUpdateHandle[:
(source)
¶
overridden in temporalio.client._ClientImpl, temporalio.contrib.opentelemetry._interceptor._TracingClientOutboundInterceptor, temporalio.contrib.opentelemetry._otel_interceptor._TracingClientOutboundInterceptor
Called for every Client.start_update_with_start_workflow and Client.execute_update_with_start_workflow call.
async def start_workflow(self, input: StartWorkflowInput) -> WorkflowHandle[:
(source)
¶
overridden in temporalio.client._ClientImpl, temporalio.contrib.openai_agents._trace_interceptor._ContextPropagationClientOutboundInterceptor, temporalio.contrib.opentelemetry._interceptor._TracingClientOutboundInterceptor, temporalio.contrib.opentelemetry._otel_interceptor._TracingClientOutboundInterceptor, temporalio.testing._workflow._TimeSkippingClientOutboundInterceptor
Called for every Client.start_workflow call.
async def start_workflow_update(self, input: StartWorkflowUpdateInput) -> WorkflowUpdateHandle[:
(source)
¶
overridden in temporalio.client._ClientImpl, temporalio.contrib.openai_agents._trace_interceptor._ContextPropagationClientOutboundInterceptor, temporalio.contrib.opentelemetry._interceptor._TracingClientOutboundInterceptor, temporalio.contrib.opentelemetry._otel_interceptor._TracingClientOutboundInterceptor
Called for every WorkflowHandle.start_update and WorkflowHandle.execute_update call.
async def terminate_activity(self, input: TerminateActivityInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every ActivityHandle.terminate call.
Warning
This API is experimental.
async def terminate_workflow(self, input: TerminateWorkflowInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every WorkflowHandle.terminate call.
async def trigger_schedule(self, input: TriggerScheduleInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every ScheduleHandle.trigger call.
async def unpause_schedule(self, input: UnpauseScheduleInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every ScheduleHandle.unpause call.
async def update_schedule(self, input: UpdateScheduleInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every ScheduleHandle.update call.
async def update_worker_build_id_compatibility(self, input: UpdateWorkerBuildIdCompatibilityInput):
(source)
¶
overridden in temporalio.client._ClientImpl
Called for every Client.update_worker_build_id_compatibility call.