class documentation
class _AssertionErrorInterceptor(temporalio.client.Interceptor, temporalio.worker.Interceptor): (source)
Undocumented
| Method | workflow |
Class that will be instantiated and used to intercept workflows. |
Inherited from Interceptor:
| Method | intercept |
Method called for intercepting a client. |
Inherited from Interceptor (via Interceptor):
| Method | intercept |
Method called for intercepting an activity. |
def workflow_interceptor_class(self, input:
temporalio.worker.WorkflowInterceptorClassInput) -> type[ temporalio.worker.WorkflowInboundInterceptor] | None:
(source)
ΒΆ
Class that will be instantiated and used to intercept workflows.
This method is called on workflow start. The class must have the same
init as WorkflowInboundInterceptor.__init__. The input can be
altered to do things like add additional extern functions.
| Parameters | |
input:temporalio.worker.WorkflowInterceptorClassInput | Input to this method that contains mutable properties that can be altered by this interceptor. |
| Returns | |
type[ | The class to construct to intercept each workflow. |