module documentation
Common code used in the Temporal SDK.
| Class | |
The workflow will auto-upgrade to the current deployment version on the next workflow task. |
| Class | |
Different ways to handle header encoding |
| 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 | |
Workflow will be pinned to a specific deployment version. |
| Class | |
Priority contains metadata that controls relative ordering of task processing when tasks are backlogged in a queue. Initially, Priority will be used in activity and workflow task queues, which are typically where backlogs exist. |
| 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 | |
Specifies when a workflow might move from a worker of one Build Id to another. |
| Class | |
Represents the override of a worker's versioning behavior for a workflow execution. |
| 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:
Mapping[ str, temporalio.api.common.v1.Payload] | None, dest: google.protobuf.internal.containers.MessageMap[ str, temporalio.api.common.v1.Payload]):
(source)
¶
Undocumented
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. |