orchestrator-core 4.1.0__py3-none-any.whl → 4.1.0rc2__py3-none-any.whl
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.
- orchestrator/__init__.py +1 -1
- orchestrator/workflows/steps.py +0 -3
- {orchestrator_core-4.1.0.dist-info → orchestrator_core-4.1.0rc2.dist-info}/METADATA +3 -3
- {orchestrator_core-4.1.0.dist-info → orchestrator_core-4.1.0rc2.dist-info}/RECORD +6 -6
- {orchestrator_core-4.1.0.dist-info → orchestrator_core-4.1.0rc2.dist-info}/WHEEL +0 -0
- {orchestrator_core-4.1.0.dist-info → orchestrator_core-4.1.0rc2.dist-info}/licenses/LICENSE +0 -0
orchestrator/__init__.py
CHANGED
orchestrator/workflows/steps.py
CHANGED
|
@@ -23,7 +23,6 @@ from orchestrator.services.subscriptions import get_subscription
|
|
|
23
23
|
from orchestrator.targets import Target
|
|
24
24
|
from orchestrator.types import SubscriptionLifecycle
|
|
25
25
|
from orchestrator.utils.json import to_serializable
|
|
26
|
-
from orchestrator.websocket import sync_invalidate_subscription_cache
|
|
27
26
|
from orchestrator.workflow import Step, step
|
|
28
27
|
from pydantic_forms.types import State, UUIDstr
|
|
29
28
|
|
|
@@ -34,7 +33,6 @@ logger = structlog.get_logger(__name__)
|
|
|
34
33
|
def resync(subscription: SubscriptionModel) -> State:
|
|
35
34
|
"""Transition a subscription to in sync."""
|
|
36
35
|
subscription.insync = True
|
|
37
|
-
sync_invalidate_subscription_cache(subscription.subscription_id)
|
|
38
36
|
return {"subscription": subscription}
|
|
39
37
|
|
|
40
38
|
|
|
@@ -95,7 +93,6 @@ def unsync(subscription_id: UUIDstr, __old_subscriptions__: dict | None = None)
|
|
|
95
93
|
if not subscription.insync:
|
|
96
94
|
raise ValueError("Subscription is already out of sync, cannot continue!")
|
|
97
95
|
subscription.insync = False
|
|
98
|
-
sync_invalidate_subscription_cache(subscription.subscription_id)
|
|
99
96
|
|
|
100
97
|
return {"subscription": subscription, "__old_subscriptions__": subscription_backup}
|
|
101
98
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: orchestrator-core
|
|
3
|
-
Version: 4.1.
|
|
3
|
+
Version: 4.1.0rc2
|
|
4
4
|
Summary: This is the orchestrator workflow engine.
|
|
5
5
|
Requires-Python: >=3.11,<3.14
|
|
6
6
|
Classifier: Intended Audience :: Information Technology
|
|
@@ -39,7 +39,7 @@ Requires-Dist: more-itertools~=10.7.0
|
|
|
39
39
|
Requires-Dist: itsdangerous
|
|
40
40
|
Requires-Dist: Jinja2==3.1.6
|
|
41
41
|
Requires-Dist: orjson==3.10.18
|
|
42
|
-
Requires-Dist: prometheus-client==0.22.
|
|
42
|
+
Requires-Dist: prometheus-client==0.22.0
|
|
43
43
|
Requires-Dist: psycopg2-binary==2.9.10
|
|
44
44
|
Requires-Dist: pydantic[email]~=2.8.2
|
|
45
45
|
Requires-Dist: pydantic-settings~=2.9.1
|
|
@@ -84,7 +84,7 @@ Requires-Dist: dirty-equals ; extra == "test"
|
|
|
84
84
|
Requires-Dist: jsonref ; extra == "test"
|
|
85
85
|
Requires-Dist: mypy==1.9 ; extra == "test"
|
|
86
86
|
Requires-Dist: pyinstrument ; extra == "test"
|
|
87
|
-
Requires-Dist: pytest==8.
|
|
87
|
+
Requires-Dist: pytest==8.3.5 ; extra == "test"
|
|
88
88
|
Requires-Dist: pytest-asyncio==0.21.2 ; extra == "test"
|
|
89
89
|
Requires-Dist: pytest-codspeed ; extra == "test"
|
|
90
90
|
Requires-Dist: pytest-cov ; extra == "test"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
orchestrator/__init__.py,sha256=
|
|
1
|
+
orchestrator/__init__.py,sha256=rvhBWDPCO-2bbuNrSMvfh1UqquJITXBYE2zo4tsKmWo,1066
|
|
2
2
|
orchestrator/app.py,sha256=7UrXKjBKNSEaSSXAd5ww_RdMFhFqE4yvfj8faS2MzAA,12089
|
|
3
3
|
orchestrator/exception_handlers.py,sha256=UsW3dw8q0QQlNLcV359bIotah8DYjMsj2Ts1LfX4ClY,1268
|
|
4
4
|
orchestrator/log_config.py,sha256=1tPRX5q65e57a6a_zEii_PFK8SzWT0mnA5w2sKg4hh8,1853
|
|
@@ -302,7 +302,7 @@ orchestrator/websocket/managers/memory_websocket_manager.py,sha256=lF5EEx1iFMCGE
|
|
|
302
302
|
orchestrator/workflows/__init__.py,sha256=NzIGGI-8SNAwCk2YqH6sHhEWbgAY457ntDwjO15N8v4,4131
|
|
303
303
|
orchestrator/workflows/modify_note.py,sha256=l6QtijRPv8gnHxzwTz_4nWIPcZ0FcKQh_yFbtjYEDMg,2163
|
|
304
304
|
orchestrator/workflows/removed_workflow.py,sha256=V0Da5TEdfLdZZKD38ig-MTp3_IuE7VGqzHHzvPYQmLI,909
|
|
305
|
-
orchestrator/workflows/steps.py,sha256=
|
|
305
|
+
orchestrator/workflows/steps.py,sha256=ulpheoHaCOE1qh71Bja4KW4pItQh1Z6q4QU4tn5GtNk,6067
|
|
306
306
|
orchestrator/workflows/utils.py,sha256=9j0hQOvGnjXUuVUMMzSIpdiyT5NzijhLh1sBXbd5QJA,14008
|
|
307
307
|
orchestrator/workflows/tasks/__init__.py,sha256=GyHNfEFCGKQwRiN6rQmvSRH2iYX7npjMZn97n8XzmLU,571
|
|
308
308
|
orchestrator/workflows/tasks/cleanup_tasks_log.py,sha256=BfWYbPXhnLAHUJ0mlODDnjZnQQAvKCZJDVTwbwOWI04,1624
|
|
@@ -310,7 +310,7 @@ orchestrator/workflows/tasks/resume_workflows.py,sha256=MzJqlSXUvKStkT7NGzxZyRlf
|
|
|
310
310
|
orchestrator/workflows/tasks/validate_product_type.py,sha256=paG-NAY1bdde3Adt8zItkcBKf5Pxw6f5ngGW6an6dYU,3192
|
|
311
311
|
orchestrator/workflows/tasks/validate_products.py,sha256=GZJBoFF-WMphS7ghMs2-gqvV2iL1F0POhk0uSNt93n0,8510
|
|
312
312
|
orchestrator/workflows/translations/en-GB.json,sha256=ST53HxkphFLTMjFHonykDBOZ7-P_KxksktZU3GbxLt0,846
|
|
313
|
-
orchestrator_core-4.1.
|
|
314
|
-
orchestrator_core-4.1.
|
|
315
|
-
orchestrator_core-4.1.
|
|
316
|
-
orchestrator_core-4.1.
|
|
313
|
+
orchestrator_core-4.1.0rc2.dist-info/licenses/LICENSE,sha256=b-aA5OZQuuBATmLKo_mln8CQrDPPhg3ghLzjPjLn4Tg,11409
|
|
314
|
+
orchestrator_core-4.1.0rc2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
315
|
+
orchestrator_core-4.1.0rc2.dist-info/METADATA,sha256=Ls33kV9YCHIfgDAD1pZ-7e4_EcsKBpWZ8iRSZCDQk-Y,5073
|
|
316
|
+
orchestrator_core-4.1.0rc2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|