nebu 0.1.97__py3-none-any.whl → 0.1.98__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.
- nebu/processors/decorate.py +2 -1
- {nebu-0.1.97.dist-info → nebu-0.1.98.dist-info}/METADATA +1 -1
- {nebu-0.1.97.dist-info → nebu-0.1.98.dist-info}/RECORD +6 -6
- {nebu-0.1.97.dist-info → nebu-0.1.98.dist-info}/WHEEL +0 -0
- {nebu-0.1.97.dist-info → nebu-0.1.98.dist-info}/licenses/LICENSE +0 -0
- {nebu-0.1.97.dist-info → nebu-0.1.98.dist-info}/top_level.txt +0 -0
nebu/processors/decorate.py
CHANGED
@@ -395,6 +395,7 @@ def processor(
|
|
395
395
|
config: Optional[GlobalConfig] = None,
|
396
396
|
hot_reload: bool = True,
|
397
397
|
debug: bool = False,
|
398
|
+
name: Optional[str] = None,
|
398
399
|
):
|
399
400
|
def decorator(
|
400
401
|
func: Callable[[Any], Any],
|
@@ -411,7 +412,7 @@ def processor(
|
|
411
412
|
f"Decorator Init: @processor decorating function '{func.__name__}'"
|
412
413
|
)
|
413
414
|
all_env = env or []
|
414
|
-
processor_name = func.__name__
|
415
|
+
processor_name = name or func.__name__
|
415
416
|
all_volumes = volumes or [] # Initialize volumes list
|
416
417
|
|
417
418
|
# Use a local variable for config resolution
|
@@ -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=j6iKF_wc8RUNKrFqjB5keUX-Gj9hGZUbmAjEyTm-Oj0,55367
|
17
17
|
nebu/processors/consumer_process_worker.py,sha256=h--eNFKaLbUayxn88mB8oGGdrU2liE1dnwm_TPlewX8,36960
|
18
|
-
nebu/processors/decorate.py,sha256=
|
18
|
+
nebu/processors/decorate.py,sha256=oZVh0vF1n2XZ0xSWdLCXJ2z3VHWJB470T6DDrv1ATGI,55516
|
19
19
|
nebu/processors/default.py,sha256=cy4ETMdbdRGkrvbYec1o60h7mGDlGN5JsuUph0ENtDU,364
|
20
20
|
nebu/processors/models.py,sha256=g4B1t6Rgoy-NUEHBLeQc0EENzHXLDlWSio8Muv7cTDU,4093
|
21
21
|
nebu/processors/processor.py,sha256=xxduD632g_2lBhAF2tZ3g0aoZJFgbfNwrDgtOAio0Is,16677
|
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.
|
25
|
-
nebu-0.1.
|
26
|
-
nebu-0.1.
|
27
|
-
nebu-0.1.
|
28
|
-
nebu-0.1.
|
24
|
+
nebu-0.1.98.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
25
|
+
nebu-0.1.98.dist-info/METADATA,sha256=L6bUkIILwiQw8rjlnhTuayigi85gMnffdgkHdfvWkmM,1797
|
26
|
+
nebu-0.1.98.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
27
|
+
nebu-0.1.98.dist-info/top_level.txt,sha256=uLIbEKJeGSHWOAJN5S0i5XBGwybALlF9bYoB1UhdEgQ,5
|
28
|
+
nebu-0.1.98.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|