esd-services-api-client 2.5.6__py3-none-any.whl → 2.5.8__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.
- esd_services_api_client/__init__.py +1 -1
- esd_services_api_client/nexus/algorithms/_baseline_algorithm.py +1 -0
- esd_services_api_client/nexus/algorithms/_remote_algorithm.py +1 -0
- esd_services_api_client/nexus/algorithms/forked_algorithm.py +10 -10
- {esd_services_api_client-2.5.6.dist-info → esd_services_api_client-2.5.8.dist-info}/METADATA +1 -1
- {esd_services_api_client-2.5.6.dist-info → esd_services_api_client-2.5.8.dist-info}/RECORD +8 -8
- {esd_services_api_client-2.5.6.dist-info → esd_services_api_client-2.5.8.dist-info}/LICENSE +0 -0
- {esd_services_api_client-2.5.6.dist-info → esd_services_api_client-2.5.8.dist-info}/WHEEL +0 -0
@@ -153,14 +153,6 @@ class ForkedAlgorithm(NexusObject[TPayload, AlgorithmResult]):
|
|
153
153
|
self._get_forks, **self._inputs, **kwargs
|
154
154
|
)()
|
155
155
|
|
156
|
-
if len(forks) > 0:
|
157
|
-
self._logger.info(
|
158
|
-
"Forking node with: {forks}, after the node run",
|
159
|
-
forks=",".join([fork.alias() for fork in forks]),
|
160
|
-
)
|
161
|
-
else:
|
162
|
-
self._logger.info("Leaf algorithm node: proceeding with this node run only")
|
163
|
-
|
164
156
|
run_result = await partial(
|
165
157
|
_measured_run,
|
166
158
|
**kwargs,
|
@@ -170,7 +162,15 @@ class ForkedAlgorithm(NexusObject[TPayload, AlgorithmResult]):
|
|
170
162
|
logger=self._logger,
|
171
163
|
)()
|
172
164
|
|
173
|
-
|
174
|
-
|
165
|
+
if len(forks) > 0:
|
166
|
+
self._logger.info(
|
167
|
+
"Forking node with: {forks}, after the node run",
|
168
|
+
forks=",".join([fork.alias() for fork in forks]),
|
169
|
+
)
|
170
|
+
await asyncio.wait(
|
171
|
+
[asyncio.create_task(fork.run(**kwargs)) for fork in forks]
|
172
|
+
)
|
173
|
+
else:
|
174
|
+
self._logger.info("Leaf algorithm node: proceeding with this node run only")
|
175
175
|
|
176
176
|
return run_result
|
@@ -1,4 +1,4 @@
|
|
1
|
-
esd_services_api_client/__init__.py,sha256=
|
1
|
+
esd_services_api_client/__init__.py,sha256=KN_Kjl98O7GhQYyQAuprEfJgTvHkSr0lZV5-SAoaW3Y,648
|
2
2
|
esd_services_api_client/beast/__init__.py,sha256=zNhXcHSP5w4P9quM1XP4oXVJEccvC_VScG41TZ0GzZ8,723
|
3
3
|
esd_services_api_client/beast/v3/__init__.py,sha256=FtumtInoDyCCRE424Llqv8QZLRuwXzj-smyfu1od1nc,754
|
4
4
|
esd_services_api_client/beast/v3/_connector.py,sha256=VqxiCzJWKERh42aZAIphzmOEG5cdOcKM0DQzG7eQ_-8,11479
|
@@ -23,10 +23,10 @@ esd_services_api_client/nexus/abstractions/logger_factory.py,sha256=9biONvCqNrP_
|
|
23
23
|
esd_services_api_client/nexus/abstractions/nexus_object.py,sha256=rLE42imCVGE6Px4Yu6X6C4b69gA1grK-7Md_SuCLN2Q,3115
|
24
24
|
esd_services_api_client/nexus/abstractions/socket_provider.py,sha256=Rwa_aPErI4Es5AdyCd3EoGze7mg2D70u8kuc2UGEBaI,1729
|
25
25
|
esd_services_api_client/nexus/algorithms/__init__.py,sha256=v4rPDf36r6AaHi_3K8isBKYU_fG8ct3w14KpUg2XRgg,976
|
26
|
-
esd_services_api_client/nexus/algorithms/_baseline_algorithm.py,sha256=
|
27
|
-
esd_services_api_client/nexus/algorithms/_remote_algorithm.py,sha256=
|
26
|
+
esd_services_api_client/nexus/algorithms/_baseline_algorithm.py,sha256=KUBkfDKIuxfa7IcVKau10ZZLIwrLbvVkNHjuIGkdjlQ,2947
|
27
|
+
esd_services_api_client/nexus/algorithms/_remote_algorithm.py,sha256=uQFoUfgATcoPDHakVChxTtAYY51ov7tOizkLRlofebA,3962
|
28
28
|
esd_services_api_client/nexus/algorithms/distributed.py,sha256=vkKSCsd480RKwrtu3uZ2iU1bh593fkgBcOBrcb9cLjA,1702
|
29
|
-
esd_services_api_client/nexus/algorithms/forked_algorithm.py,sha256=
|
29
|
+
esd_services_api_client/nexus/algorithms/forked_algorithm.py,sha256=VLKKNJvTa5rNjRFWCMk5w0ZZ8-4JoNegY7ldvVzMGDo,5873
|
30
30
|
esd_services_api_client/nexus/algorithms/minimalistic.py,sha256=tSYXodIW-_Aje-_ZyYUoWAThcZIeE4_kMvMINsT4Lb8,1644
|
31
31
|
esd_services_api_client/nexus/algorithms/recursive.py,sha256=uaCCl4q-st_KqbcmkdOJedJ0nAjbJvn6jdZEdW0_0ss,2007
|
32
32
|
esd_services_api_client/nexus/configurations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -47,7 +47,7 @@ esd_services_api_client/nexus/input/payload_reader.py,sha256=Kq0xN1Shyqv71v6Ykcr
|
|
47
47
|
esd_services_api_client/nexus/telemetry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
48
48
|
esd_services_api_client/nexus/telemetry/recorder.py,sha256=j4x-wOSNZHkFco-ENlKtSm22d4WGHmuzKMnzvGQAtlQ,4849
|
49
49
|
esd_services_api_client/nexus/telemetry/user_telemetry_recorder.py,sha256=NOcb2l1SkMHinBXSrfbiBZSpufzhBWkuh3Px3NXrkcg,4997
|
50
|
-
esd_services_api_client-2.5.
|
51
|
-
esd_services_api_client-2.5.
|
52
|
-
esd_services_api_client-2.5.
|
53
|
-
esd_services_api_client-2.5.
|
50
|
+
esd_services_api_client-2.5.8.dist-info/LICENSE,sha256=0gS6zXsPp8qZhzi1xaGCIYPzb_0e8on7HCeFJe8fOpw,10693
|
51
|
+
esd_services_api_client-2.5.8.dist-info/METADATA,sha256=_KBIIPC3voC-_zFJ3Dl-AmbfK9u03gQCvX4mkq40uJU,1164
|
52
|
+
esd_services_api_client-2.5.8.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
53
|
+
esd_services_api_client-2.5.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|