nebu 0.1.115__py3-none-any.whl → 0.1.116__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.
@@ -802,7 +802,13 @@ def processor(
802
802
  )
803
803
  origin = get_origin(param_type) if param_type else None
804
804
  args = get_args(param_type) if param_type else tuple()
805
- logger.debug(f"Decorator: get_origin result: {origin}, get_args result: {args}")
805
+ logger.debug(
806
+ f"Decorator: For param_type '{param_type_str_repr}': origin = {origin!s}, args = {args!s}"
807
+ ) # More detailed log
808
+ print(
809
+ f"Decorator: For param_type '{param_type_str_repr}': origin = {origin!s}, args = {args!s}"
810
+ ) # More detailed log
811
+
806
812
  is_stream_message = False
807
813
  content_type = None
808
814
  content_type_name_from_regex = None # Store regex result here
@@ -311,6 +311,10 @@ class Processor(Generic[InputType, OutputType]):
311
311
  )
312
312
  response.raise_for_status()
313
313
  raw_response_json = response.json()
314
+
315
+ if "error" in raw_response_json:
316
+ raise Exception(raw_response_json["error"])
317
+
314
318
  raw_content = raw_response_json.get("content")
315
319
  logger.debug(f">>> Raw content: {raw_content}")
316
320
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nebu
3
- Version: 0.1.115
3
+ Version: 0.1.116
4
4
  Summary: A globally distributed container runtime
5
5
  Requires-Python: >=3.10.14
6
6
  Description-Content-Type: text/markdown
@@ -15,14 +15,14 @@ nebu/namespaces/models.py,sha256=EqUOpzhVBhvJw2P92ONDUbIgC31M9jMmcaG5vyOrsWg,497
15
15
  nebu/namespaces/namespace.py,sha256=oeZyGqsIGIrppyjif1ZONsdTmqRgd9oSLFE1BChXTTE,5247
16
16
  nebu/processors/consumer.py,sha256=9WapzBTPuXRunH-vjPerTlGZy__hn_d4m13l1ajebY8,62732
17
17
  nebu/processors/consumer_process_worker.py,sha256=h--eNFKaLbUayxn88mB8oGGdrU2liE1dnwm_TPlewX8,36960
18
- nebu/processors/decorate.py,sha256=wnos4w7htBUSOnNVyhY7NQgUuz9d2_-Kre5H99UiFpw,61089
18
+ nebu/processors/decorate.py,sha256=5p9pQrk_H8-Fj0UjsgSVCYx7Jk7KFuhMZtNhkKvpmkQ,61306
19
19
  nebu/processors/default.py,sha256=cy4ETMdbdRGkrvbYec1o60h7mGDlGN5JsuUph0ENtDU,364
20
20
  nebu/processors/models.py,sha256=g4B1t6Rgoy-NUEHBLeQc0EENzHXLDlWSio8Muv7cTDU,4093
21
- nebu/processors/processor.py,sha256=fMXzodTe2qWnoCBry9nLsHLMEI6FxOOmcsR9DbuY_W0,24574
21
+ nebu/processors/processor.py,sha256=PQTWxo0-XvdvoDTcchBwYA2OZQi3-uTwhKZPhDQ2zaM,24673
22
22
  nebu/redis/models.py,sha256=coPovAcVXnOU1Xh_fpJL4PO3QctgK9nBe5QYoqEcnxg,1230
23
23
  nebu/services/service.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- nebu-0.1.115.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
- nebu-0.1.115.dist-info/METADATA,sha256=tud697lMA-FHCANFaBZKT20hTCyIxRMMQT3ZNdc0tQk,1798
26
- nebu-0.1.115.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
27
- nebu-0.1.115.dist-info/top_level.txt,sha256=uLIbEKJeGSHWOAJN5S0i5XBGwybALlF9bYoB1UhdEgQ,5
28
- nebu-0.1.115.dist-info/RECORD,,
24
+ nebu-0.1.116.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
+ nebu-0.1.116.dist-info/METADATA,sha256=S-hzlObs1u38wGTPRvAyb6v21nzziM8joMlEIXZ2dio,1798
26
+ nebu-0.1.116.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
27
+ nebu-0.1.116.dist-info/top_level.txt,sha256=uLIbEKJeGSHWOAJN5S0i5XBGwybALlF9bYoB1UhdEgQ,5
28
+ nebu-0.1.116.dist-info/RECORD,,
File without changes