module documentation
Common code used in the Temporal SDK.
Class |
|
Base for all metrics. |
Class |
|
Counter metric created by a metric meter. |
Class |
|
Gauge metric created by a metric meter. |
Class |
|
Gauge metric created by a metric meter. |
Class |
|
Histogram metric created by a metric meter. |
Class |
|
Histogram metric created by a metric meter. |
Class |
|
Histogram metric created by a metric meter. |
Class |
|
Metric meter for recording metrics. |
Class |
|
Whether a query should be rejected in certain conditions. |
Class |
|
Representation of an unconverted, raw payload. |
Class |
|
Options for retrying workflows and activities. |
Class |
|
Server index type of a search attribute. |
Class |
|
Typed search attribute key representation. |
Class |
|
A named tuple representing a key/value search attribute pair. |
Class |
|
Representation of a search attribute update. |
Class |
|
Collection of typed search attributes. |
Class |
|
How already-running workflows of the same ID are handled on start. |
Class |
|
How already-in-use workflow IDs are handled on start. |
Type Variable |
|
Undocumented |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Function | _apply |
Undocumented |
Function | _arg |
Undocumented |
Function | _type |
Extracts the type hints from the function. |
Function | _warn |
Undocumented |
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. |