class documentation
class ActivityInboundInterceptor: (source)
Known subclasses: temporalio.contrib.openai_agents._trace_interceptor._ContextPropagationActivityInboundInterceptor, temporalio.contrib.opentelemetry._TracingActivityInboundInterceptor, temporalio.worker._activity._ActivityInboundImpl
Constructor: ActivityInboundInterceptor(next)
Inbound interceptor to wrap outbound creation and activity execution.
This should be extended by any activity inbound interceptors.
| Method | __init__ |
Create the inbound interceptor. |
| Async Method | execute |
Called to invoke the activity. |
| Method | init |
Initialize with an outbound interceptor. |
| Instance Variable | next |
Undocumented |
overridden in
temporalio.contrib.opentelemetry._TracingActivityInboundInterceptor, temporalio.worker._activity._ActivityInboundImplCreate the inbound interceptor.
| Parameters | |
next:ActivityInboundInterceptor | The next interceptor in the chain. The default implementation of all calls is to delegate to the next interceptor. |
overridden in
temporalio.worker._activity._ActivityInboundImplInitialize with an outbound interceptor.
To add a custom outbound interceptor, wrap the given interceptor before sending to the next init call.