module documentation
Undocumented
| Function | get |
Return the name of a callable object. |
| Function | get |
Return the Operation for the object along with the factory function. |
| Function | get |
Return operation input and output types. |
| Function | is |
Return True if obj is an async callable. |
| Function | set |
Set the OperationHandler factory for this object. |
| Type Variable | |
Undocumented |
| Function | _get |
Undocumented |
def get_operation_factory(obj:
Any) -> tuple[ Callable[ [ Any], Any] | None, nexusrpc.Operation[ Any, Any] | None]:
(source)
¶
Return the Operation for the object along with the factory function.
obj should be a decorated operation start method.
def get_workflow_run_start_method_input_and_output_type_annotations(start:
Callable[ [ ServiceHandlerT, WorkflowRunOperationContext, InputT], Awaitable[ WorkflowHandle[ OutputT]]]) -> tuple[ type[ InputT] | None, type[ OutputT] | None]:
(source)
¶
Return operation input and output types.
start must be a type-annotated start method that returns a
temporalio.nexus.WorkflowHandle.
def _get_start_method_input_and_output_type_annotations(start:
Callable[ [ ServiceHandlerT, WorkflowRunOperationContext, InputT], Awaitable[ WorkflowHandle[ OutputT]]]) -> tuple[ type[ InputT] | None, type[ OutputT] | None]:
(source)
¶
Undocumented