nebu 0.1.115__tar.gz → 0.1.116__tar.gz
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.
- {nebu-0.1.115/src/nebu.egg-info → nebu-0.1.116}/PKG-INFO +1 -1
- {nebu-0.1.115 → nebu-0.1.116}/pyproject.toml +1 -1
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/processors/decorate.py +7 -1
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/processors/processor.py +4 -0
- {nebu-0.1.115 → nebu-0.1.116/src/nebu.egg-info}/PKG-INFO +1 -1
- {nebu-0.1.115 → nebu-0.1.116}/LICENSE +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/README.md +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/setup.cfg +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/__init__.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/auth.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/builders/builder.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/builders/models.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/cache.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/config.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/containers/container.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/containers/models.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/data.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/errors.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/logging.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/meta.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/namespaces/models.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/namespaces/namespace.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/orign.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/processors/consumer.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/processors/consumer_process_worker.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/processors/default.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/processors/models.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/redis/models.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu/services/service.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu.egg-info/SOURCES.txt +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu.egg-info/dependency_links.txt +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu.egg-info/requires.txt +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/src/nebu.egg-info/top_level.txt +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/tests/test_bucket.py +0 -0
- {nebu-0.1.115 → nebu-0.1.116}/tests/test_containers.py +0 -0
@@ -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(
|
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
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|