esd-services-api-client 2.0.9__py3-none-any.whl → 2.0.11__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.
@@ -1 +1 @@
1
- __version__ = '2.0.9'
1
+ __version__ = '2.0.11'
@@ -55,7 +55,7 @@ async def resolve_readers(
55
55
  def get_result(alias: str, completed_task: asyncio.Task) -> TResult:
56
56
  reader_exc = completed_task.exception()
57
57
  if reader_exc:
58
- raise resolve_reader_exc_type(reader_exc)(alias, reader_exc)
58
+ raise resolve_reader_exc_type(reader_exc)(alias, reader_exc) from reader_exc
59
59
 
60
60
  return completed_task.result()
61
61
 
@@ -80,13 +80,13 @@ class InputReader(NexusObject[TPayload, TResult]):
80
80
 
81
81
  @run_time_metrics_async(
82
82
  metric_name="read_input",
83
- on_finish_message_template="Finished reading {entity} from path {data_path} in {elapsed:.2f}s seconds",
83
+ on_finish_message_template="Finished reading {entity} from path {data_path} in {elapsed:.2f}s seconds"
84
+ if self.socket
85
+ else "Finished reading {entity} in {elapsed:.2f}s seconds",
84
86
  template_args={
85
87
  "entity": self.__class__.alias().upper(),
86
88
  }
87
- | {"data_path": self.socket.data_path}
88
- if self.socket
89
- else {},
89
+ | ({"data_path": self.socket.data_path} if self.socket else {}),
90
90
  )
91
91
  async def _read(**_) -> TResult:
92
92
  if not self._data:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: esd-services-api-client
3
- Version: 2.0.9
3
+ Version: 2.0.11
4
4
  Summary: Python clients for ESD services
5
5
  Home-page: https://github.com/SneaksAndData/esd-services-api-client
6
6
  License: Apache 2.0
@@ -16,13 +16,12 @@ Classifier: Programming Language :: Python :: 3.10
16
16
  Classifier: Programming Language :: Python :: 3.11
17
17
  Provides-Extra: azure
18
18
  Provides-Extra: nexus
19
- Provides-Extra: nexus-polars
20
19
  Requires-Dist: adapta[azure,datadog,storage] (>=2.7.1,<3.0.0)
21
20
  Requires-Dist: azure-identity (>=1.7,<1.8) ; extra == "azure"
22
21
  Requires-Dist: dataclasses-json (>=0.6.0,<0.7.0)
23
22
  Requires-Dist: httpx (>=0.26.0,<0.27.0) ; extra == "nexus"
24
23
  Requires-Dist: injector (>=0.21.0,<0.22.0) ; extra == "nexus"
25
- Requires-Dist: polars (>=0.20.7,<0.21.0) ; extra == "nexus-polars"
24
+ Requires-Dist: polars (>=0.20.7,<0.21.0) ; extra == "nexus"
26
25
  Requires-Dist: pycryptodome (>=3.15,<3.16)
27
26
  Requires-Dist: pyjwt (>=2.4.0,<2.5.0)
28
27
  Project-URL: Repository, https://github.com/SneaksAndData/esd-services-api-client
@@ -1,5 +1,5 @@
1
1
  esd_services_api_client/__init__.py,sha256=rP0njtEgVSMm-sOVayVfcRUrrubl4lme7HI2zS678Lo,598
2
- esd_services_api_client/_version.py,sha256=YHfSoqxCUyNphrTJsW3Ed3e2IVM5_H1IYKii1J5IND4,22
2
+ esd_services_api_client/_version.py,sha256=kYhLv18j-O34kNxw6Eplm19f_daEvrswrqeZfkVEPRQ,23
3
3
  esd_services_api_client/beast/__init__.py,sha256=NTaz_7YoLPK8MCLwbwqH7rW1zDWLxXu2T7fGmMmRxyg,718
4
4
  esd_services_api_client/beast/v3/__init__.py,sha256=TRjB4-T6eIORpMvdylb32_GinrIpYNFmAdshSC1HqHg,749
5
5
  esd_services_api_client/beast/v3/_connector.py,sha256=oPizDQ1KOKOfiyh-jAofKodlpRzrRiELv-rmP_o_oio,11473
@@ -36,11 +36,11 @@ esd_services_api_client/nexus/exceptions/_nexus_error.py,sha256=b3L8JnNvV2jdxNfu
36
36
  esd_services_api_client/nexus/exceptions/input_reader_error.py,sha256=D-xYTKRNREQ2-NGhc88GHOmXCvLNsIVQsH8wf0LLC_0,1760
37
37
  esd_services_api_client/nexus/exceptions/startup_error.py,sha256=f2PIOSdLgT-42eKD6ec8p7nROADshMawCsDGDUbxO_w,1546
38
38
  esd_services_api_client/nexus/input/__init__.py,sha256=DEdzkK43xjNl3XPQy3Q8xHGzXYsMwxCMs1QdEAsS4FI,814
39
- esd_services_api_client/nexus/input/_functions.py,sha256=SonIImDN9Eiw_Eb2tKXXtLtBffPYdhdZKzWiPQPcjW8,2470
39
+ esd_services_api_client/nexus/input/_functions.py,sha256=5cqzKGumc27QSQwcmmJOYgZt1009BwNhae5qPQOgkpw,2486
40
40
  esd_services_api_client/nexus/input/input_processor.py,sha256=lRtxrvxGXXmDWHsg4mTWCgM8ecu4kroMDqC3UQMGKYk,1827
41
- esd_services_api_client/nexus/input/input_reader.py,sha256=zVv_qYmf-kHfPmyo_mYyPO6HFk-lX8dItLkHtUGYxZQ,3092
41
+ esd_services_api_client/nexus/input/input_reader.py,sha256=hQE_mHLtU1dgSz_6tc7URwrG7mCMzEXNKc_yOxXy9PQ,3168
42
42
  esd_services_api_client/nexus/input/payload_reader.py,sha256=__r_QjIFRAWwx56X5WUK1qensJUae0vZEb422dzOgSY,2511
43
- esd_services_api_client-2.0.9.dist-info/LICENSE,sha256=0gS6zXsPp8qZhzi1xaGCIYPzb_0e8on7HCeFJe8fOpw,10693
44
- esd_services_api_client-2.0.9.dist-info/METADATA,sha256=8wldbRYSsxJWGT8P_Lkl_sIvq9nrf9qt6e5O7xhoRWQ,1332
45
- esd_services_api_client-2.0.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
46
- esd_services_api_client-2.0.9.dist-info/RECORD,,
43
+ esd_services_api_client-2.0.11.dist-info/LICENSE,sha256=0gS6zXsPp8qZhzi1xaGCIYPzb_0e8on7HCeFJe8fOpw,10693
44
+ esd_services_api_client-2.0.11.dist-info/METADATA,sha256=v7f01MJtKlzwiSsICIOT1oKnRKSh513eQwHUj1lx3Rs,1297
45
+ esd_services_api_client-2.0.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
46
+ esd_services_api_client-2.0.11.dist-info/RECORD,,