module documentation

Undocumented

Function get_start_method_input_and_output_type_annotations Return operation input and output types.
Type Variable ServiceHandlerT Undocumented
def get_start_method_input_and_output_type_annotations(start: Callable[[ServiceHandlerT, StartOperationContext, InputT], OutputT | Awaitable[OutputT]]) -> tuple[type[InputT] | None, type[OutputT] | None]:

Return operation input and output types.

start must be a type-annotated start method that returns a synchronous result.

ServiceHandlerT =

Undocumented

Value
TypeVar('ServiceHandlerT')