qctrl-workflow-client 2.2.1__tar.gz → 2.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/PKG-INFO +1 -1
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/pyproject.toml +1 -1
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/__init__.py +1 -1
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/globals.py +8 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/LICENSE +0 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/README.md +0 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/defaults.py +0 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/functions.py +0 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/products.py +0 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/router/__init__.py +0 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/router/api.py +0 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/router/base.py +0 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/router/local.py +0 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/settings.py +0 -0
- {qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/utils.py +0 -0
|
@@ -43,6 +43,14 @@ def global_value(key: str) -> Callable:
|
|
|
43
43
|
return decorator
|
|
44
44
|
|
|
45
45
|
|
|
46
|
+
def update_global_value(key, value: Any):
|
|
47
|
+
"""Update global registry value."""
|
|
48
|
+
if key in _REGISTRY:
|
|
49
|
+
_REGISTRY[key] = value
|
|
50
|
+
else:
|
|
51
|
+
raise KeyError(f"Key not found in the registry: {key}")
|
|
52
|
+
|
|
53
|
+
|
|
46
54
|
def invalidate_global_value(*keys: str):
|
|
47
55
|
"""
|
|
48
56
|
Remove the globally registered values, if they exist.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/functions.py
RENAMED
|
File without changes
|
|
File without changes
|
{qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/router/__init__.py
RENAMED
|
File without changes
|
{qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/router/api.py
RENAMED
|
File without changes
|
{qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/router/base.py
RENAMED
|
File without changes
|
{qctrl_workflow_client-2.2.1 → qctrl_workflow_client-2.2.2}/qctrlworkflowclient/router/local.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|