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.
@@ -17,4 +17,4 @@
17
17
  Root index.
18
18
  """
19
19
 
20
- __version__ = "2.5.6"
20
+ __version__ = "2.5.8"
@@ -87,6 +87,7 @@ class BaselineAlgorithm(NexusObject[TPayload, AlgorithmResult]):
87
87
 
88
88
  return await partial(
89
89
  _measured_run,
90
+ **kwargs,
90
91
  **self._inputs,
91
92
  metric_tags=self._metric_tags,
92
93
  metrics_provider=self._metrics_provider,
@@ -113,6 +113,7 @@ class RemoteAlgorithm(NexusObject[TPayload, AlgorithmResult]):
113
113
 
114
114
  return await partial(
115
115
  _measured_run,
116
+ **kwargs,
116
117
  **results,
117
118
  metric_tags=self._metric_tags,
118
119
  metrics_provider=self._metrics_provider,
@@ -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
- # now await callback scheduling
174
- await asyncio.wait([asyncio.create_task(fork.run(**kwargs)) for fork in forks])
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,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: esd-services-api-client
3
- Version: 2.5.6
3
+ Version: 2.5.8
4
4
  Summary: Python clients for ESD services
5
5
  License: Apache 2.0
6
6
  Author: ECCO Sneaks & Data
@@ -1,4 +1,4 @@
1
- esd_services_api_client/__init__.py,sha256=9vhaoII6t_U6HdNMfsrT2PcCLfdmBNQAN_DkoLF7QXo,648
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=24ALLx4Bxlgi0EwZB1a0SJeEwBUWKj7CGad-CpIygU0,2925
27
- esd_services_api_client/nexus/algorithms/_remote_algorithm.py,sha256=IdTKdNbFirrUM9H2mTnk-vlbObEwyG8xRQZbauf6CEQ,3940
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=vD711cyGUmyiBXPPEh5DnZ8ID9bygtqGvp7sTRfEMnI,5880
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.6.dist-info/LICENSE,sha256=0gS6zXsPp8qZhzi1xaGCIYPzb_0e8on7HCeFJe8fOpw,10693
51
- esd_services_api_client-2.5.6.dist-info/METADATA,sha256=bUONn6J8CxYVg-xYE1RxkBlLFsgsU5la9fSNK_VhM38,1164
52
- esd_services_api_client-2.5.6.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
53
- esd_services_api_client-2.5.6.dist-info/RECORD,,
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,,