module documentation
Undocumented
| Function | get |
Extract input and output type annotations from a start method. |
| Type Variable | |
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]:
¶
Extract input and output type annotations from a start method.
| Parameters | |
start:Callable[ | A start method with signature (self, ctx: StartOperationContext, input: I) -> O |
| Returns | |
A tuple of (input_type, output_type)where |
When None is returned for either type, the caller should handle it based on whether a service definition is available:
|