esd-services-api-client 2.5.14a148.dev1__py3-none-any.whl → 2.6.0__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/core/app_core.py +8 -3
- esd_services_api_client/nexus/core/app_dependencies.py +0 -3
- {esd_services_api_client-2.5.14a148.dev1.dist-info → esd_services_api_client-2.6.0.dist-info}/METADATA +1 -1
- {esd_services_api_client-2.5.14a148.dev1.dist-info → esd_services_api_client-2.6.0.dist-info}/RECORD +7 -8
- {esd_services_api_client-2.5.14a148.dev1.dist-info → esd_services_api_client-2.6.0.dist-info}/WHEEL +1 -1
- esd_services_api_client/_version.py +0 -1
- {esd_services_api_client-2.5.14a148.dev1.dist-info → esd_services_api_client-2.6.0.dist-info}/LICENSE +0 -0
@@ -260,8 +260,6 @@ class Nexus:
|
|
260
260
|
|
261
261
|
self._injector = Injector(self._configurator.injection_binds)
|
262
262
|
|
263
|
-
algorithm: BaselineAlgorithm = self._injector.get(self._algorithm_class)
|
264
|
-
telemetry_recorder: TelemetryRecorder = self._injector.get(TelemetryRecorder)
|
265
263
|
root_logger: LoggerInterface = self._injector.get(LoggerFactory).create_logger(
|
266
264
|
logger_type=self.__class__,
|
267
265
|
)
|
@@ -278,6 +276,9 @@ class Nexus:
|
|
278
276
|
root_logger.error("Error reading algorithm payload", ex)
|
279
277
|
sys.exit(1)
|
280
278
|
|
279
|
+
algorithm: BaselineAlgorithm = self._injector.get(self._algorithm_class)
|
280
|
+
telemetry_recorder: TelemetryRecorder = self._injector.get(TelemetryRecorder)
|
281
|
+
|
281
282
|
root_logger.info(
|
282
283
|
"Running algorithm {algorithm} on Nexus version {version}",
|
283
284
|
algorithm=algorithm.__class__.__name__,
|
@@ -288,7 +289,11 @@ class Nexus:
|
|
288
289
|
self._algorithm_run_task = asyncio.create_task(
|
289
290
|
instance.run(**self._run_args.__dict__)
|
290
291
|
)
|
291
|
-
|
292
|
+
|
293
|
+
# avoid exception propagation to main thread, since we need to handle it later
|
294
|
+
await asyncio.wait(
|
295
|
+
[self._algorithm_run_task], return_when=asyncio.FIRST_EXCEPTION
|
296
|
+
)
|
292
297
|
ex = self._algorithm_run_task.exception()
|
293
298
|
|
294
299
|
if ex is not None:
|
@@ -42,9 +42,6 @@ from esd_services_api_client.nexus.exceptions.startup_error import (
|
|
42
42
|
)
|
43
43
|
from esd_services_api_client.nexus.input.input_processor import InputProcessor
|
44
44
|
from esd_services_api_client.nexus.input.input_reader import InputReader
|
45
|
-
from esd_services_api_client.nexus.input.payload_reader import (
|
46
|
-
AlgorithmPayload,
|
47
|
-
)
|
48
45
|
from esd_services_api_client.nexus.telemetry.recorder import TelemetryRecorder
|
49
46
|
from esd_services_api_client.nexus.core.serializers import (
|
50
47
|
TelemetrySerializer,
|
{esd_services_api_client-2.5.14a148.dev1.dist-info → esd_services_api_client-2.6.0.dist-info}/RECORD
RENAMED
@@ -1,5 +1,4 @@
|
|
1
|
-
esd_services_api_client/__init__.py,sha256=
|
2
|
-
esd_services_api_client/_version.py,sha256=-TbNnP6KPaa-leOriKnbE2HrPtMCycwZhCJj5WFaAAY,33
|
1
|
+
esd_services_api_client/__init__.py,sha256=BBAYNMvljwWCMfrNwUz0XsUcC8i6XtJbMZus9tS5Fls,648
|
3
2
|
esd_services_api_client/beast/__init__.py,sha256=zNhXcHSP5w4P9quM1XP4oXVJEccvC_VScG41TZ0GzZ8,723
|
4
3
|
esd_services_api_client/beast/v3/__init__.py,sha256=FtumtInoDyCCRE424Llqv8QZLRuwXzj-smyfu1od1nc,754
|
5
4
|
esd_services_api_client/beast/v3/_connector.py,sha256=VqxiCzJWKERh42aZAIphzmOEG5cdOcKM0DQzG7eQ_-8,11479
|
@@ -33,8 +32,8 @@ esd_services_api_client/nexus/algorithms/recursive.py,sha256=uaCCl4q-st_KqbcmkdO
|
|
33
32
|
esd_services_api_client/nexus/configurations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
34
33
|
esd_services_api_client/nexus/configurations/algorithm_configuration.py,sha256=eE7diX2PATCGkmqhvFOcZwXrr6vns4fqnJGmgNvhhZM,1091
|
35
34
|
esd_services_api_client/nexus/core/__init__.py,sha256=sOgKKq3_LZGbLmQMtMS7lDw2hv027qownTmNIRV0BB8,627
|
36
|
-
esd_services_api_client/nexus/core/app_core.py,sha256=
|
37
|
-
esd_services_api_client/nexus/core/app_dependencies.py,sha256=
|
35
|
+
esd_services_api_client/nexus/core/app_core.py,sha256=JlVn8kkw26blK1FtqNtwNxkjKv9XLCFYAPAHUOzW5Mc,12986
|
36
|
+
esd_services_api_client/nexus/core/app_dependencies.py,sha256=tA18Smbiv1HjgXnpCHnigrR2mTmIeZawPKxMH0pezIU,8615
|
38
37
|
esd_services_api_client/nexus/core/serializers.py,sha256=Vk9FaEeDHXx3S7rPlYoWzsOcN6gzLzemsrjq6ytfaI0,2217
|
39
38
|
esd_services_api_client/nexus/exceptions/__init__.py,sha256=feN33VdqB5-2bD9aJesJl_OlsKrNNo3hZCnQgKuaU9k,696
|
40
39
|
esd_services_api_client/nexus/exceptions/_nexus_error.py,sha256=QvtY38mNoIA6t26dUN6UIsaPfljhtVNsbQVS7ksMb-Q,895
|
@@ -51,7 +50,7 @@ esd_services_api_client/nexus/modules/mlflow_module.py,sha256=d4y8XetGF37md4dEpE
|
|
51
50
|
esd_services_api_client/nexus/telemetry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
52
51
|
esd_services_api_client/nexus/telemetry/recorder.py,sha256=-shxk2vYDTafJ0U3CzkHxIHBQtxVJ1ZNI4ST0p1YV2g,4801
|
53
52
|
esd_services_api_client/nexus/telemetry/user_telemetry_recorder.py,sha256=NgnjSY64nEx1kslkdomENC6vMqkEOpfXggJXwm-NyFs,5163
|
54
|
-
esd_services_api_client-2.
|
55
|
-
esd_services_api_client-2.
|
56
|
-
esd_services_api_client-2.
|
57
|
-
esd_services_api_client-2.
|
53
|
+
esd_services_api_client-2.6.0.dist-info/LICENSE,sha256=0gS6zXsPp8qZhzi1xaGCIYPzb_0e8on7HCeFJe8fOpw,10693
|
54
|
+
esd_services_api_client-2.6.0.dist-info/METADATA,sha256=9vAceRIDIKylVuNKpmSDzMmovD3cf6QoNoh4Z627sGw,1164
|
55
|
+
esd_services_api_client-2.6.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
56
|
+
esd_services_api_client-2.6.0.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = 'v2.5.14a148.dev1'
|
File without changes
|