temporalio.worker._worker
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
def _warn_if_activity_executor_max_workers_is_inconsistent(config: WorkerConfig):
(source)
¶
Undocumented
def _warn_if_nexus_task_executor_max_workers_is_inconsistent(config: WorkerConfig):
(source)
¶
Undocumented