qctrl-workflow-client 3.1.0__tar.gz → 3.1.1__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-3.1.0 → qctrl_workflow_client-3.1.1}/PKG-INFO +1 -1
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/pyproject.toml +2 -2
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/__init__.py +1 -1
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/functions.py +4 -1
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/LICENSE +0 -0
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/README.md +0 -0
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/defaults.py +0 -0
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/globals.py +0 -0
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/products.py +0 -0
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/router/__init__.py +0 -0
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/router/api.py +0 -0
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/router/base.py +0 -0
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/router/local.py +0 -0
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/settings.py +0 -0
- {qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "qctrl-workflow-client"
|
|
3
|
-
version = "3.1.
|
|
3
|
+
version = "3.1.1"
|
|
4
4
|
description = "Q-CTRL Client"
|
|
5
5
|
license = "https://q-ctrl.com/terms"
|
|
6
6
|
authors = ["Q-CTRL <support@q-ctrl.com>"]
|
|
@@ -88,7 +88,7 @@ qctrl-client = { version = "^9.1.0", source = "PyPI" }
|
|
|
88
88
|
black = "^24.3.0"
|
|
89
89
|
isort = "^5.12.0"
|
|
90
90
|
pre-commit = "^3.3.3"
|
|
91
|
-
pylint = "^2.
|
|
91
|
+
pylint = "^3.2.2"
|
|
92
92
|
pytest = "^7.2.2"
|
|
93
93
|
pytest-cov = "^4.0.0"
|
|
94
94
|
pytest-mock = "^3.10.0"
|
{qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/functions.py
RENAMED
|
@@ -22,6 +22,8 @@ from warnings import warn
|
|
|
22
22
|
|
|
23
23
|
from qctrlcommons.exceptions import QctrlArgumentsValueError
|
|
24
24
|
|
|
25
|
+
from qctrlworkflowclient.router.api import ApiRouter
|
|
26
|
+
|
|
25
27
|
|
|
26
28
|
def core_workflow(
|
|
27
29
|
get_config: Callable, workflow: str, formatter: Optional[Callable] = None
|
|
@@ -64,7 +66,8 @@ def core_workflow(
|
|
|
64
66
|
config = get_config()
|
|
65
67
|
router = config.get_router()
|
|
66
68
|
|
|
67
|
-
router
|
|
69
|
+
if isinstance(router, ApiRouter):
|
|
70
|
+
router.set_async_state(kwargs.pop("is_async", False))
|
|
68
71
|
|
|
69
72
|
data = func(*args, **kwargs)
|
|
70
73
|
result = router(workflow, data)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/router/__init__.py
RENAMED
|
File without changes
|
{qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/router/api.py
RENAMED
|
File without changes
|
{qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/router/base.py
RENAMED
|
File without changes
|
{qctrl_workflow_client-3.1.0 → qctrl_workflow_client-3.1.1}/qctrlworkflowclient/router/local.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|