module documentation
Worker for processing Temporal workflows and/or activities.
Function | load |
Load the default worker build ID. |
Variable | logger |
Undocumented |
Exception | _ |
Undocumented |
Function | _extract |
Undocumented |
Function | _get |
Undocumented |
Variable | _default |
Undocumented |
Load the default worker build ID.
The worker build ID is a unique hash representing the entire set of code including Temporal code and external code. The default here is currently implemented by walking loaded modules and hashing their bytecode into a common hash.
Parameters | |
memoize:bool | If true, the default, this will cache to a global variable to keep from having to run again on successive calls. |
Returns | |
str | Unique identifier representing the set of running code. |
def _extract_bridge_client_for_worker(client:
temporalio.client.Client
) -> temporalio.service._BridgeServiceClient
:
(source)
¶
Undocumented