module documentation

Undocumented

Function operation_handler Decorator marking an operation handler factory method in a service handler class.
Type Variable F Undocumented
Type Variable OperationHandlerFactoryT Undocumented
@overload
def operation_handler(method: OperationHandlerFactoryT) -> OperationHandlerFactoryT:
@overload
def operation_handler(*, name: str | None = None) -> Callable[[OperationHandlerFactoryT], OperationHandlerFactoryT]:

Decorator marking an operation handler factory method in a service handler class.

An operation handler factory method is a method that takes no arguments other than self and returns an OperationHandler instance.

Parameters
method:OperationHandlerFactoryT | NoneThe method to decorate.
name:str | NoneOptional name for the operation. If not provided, the method name will be used.
Returns
OperationHandlerFactoryT | Callable[[OperationHandlerFactoryT], OperationHandlerFactoryT]Undocumented
F =

Undocumented

Value
TypeVar('F',
        bound=Callable[[Any, StartOperationContext, Any], Any])
OperationHandlerFactoryT =

Undocumented

Value
TypeVar('OperationHandlerFactoryT',
        bound=Callable[[Any], OperationHandler[Any, Any]])