module documentation
Common code used in the Temporal SDK.
Class |
|
Whether a query should be rejected in certain conditions. |
Class |
|
Options for retrying workflows and activities. |
Class |
|
How already-in-use workflow IDs are handled on start. |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Function | _apply |
Undocumented |
Function | _arg |
Undocumented |
Function | _type |
Extracts the type hints from the function. |
Variable | _arg |
Undocumented |
Variable | _non |
Undocumented |
def _apply_headers(source:
Optional[ Mapping[ str, temporalio.api.common.v1.Payload]]
, dest: google.protobuf.internal.containers.MessageMap[ Text, temporalio.api.common.v1.Payload]
):
(source)
¶
Undocumented
def _type_hints_from_func(func:
Callable
) -> Tuple[ Optional[ List[ Type]], Optional[ Type]]
:
(source)
¶
Extracts the type hints from the function.
Parameters | |
func:Callable | Function to extract hints from. |
Returns | |
Tuple[ | Tuple containing parameter types and return type. The parameter types will be None if there are any non-positional parameters or if any of the parameters to not have an annotation that represents a class. If the first parameter is "self" with no attribute, it is not included. |