nebu 0.1.125__tar.gz → 0.1.126__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.125/src/nebu.egg-info → nebu-0.1.126}/PKG-INFO +1 -1
- {nebu-0.1.125 → nebu-0.1.126}/pyproject.toml +1 -1
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/processors/processor.py +4 -0
- {nebu-0.1.125 → nebu-0.1.126/src/nebu.egg-info}/PKG-INFO +1 -1
- {nebu-0.1.125 → nebu-0.1.126}/LICENSE +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/README.md +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/setup.cfg +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/__init__.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/auth.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/builders/builder.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/builders/models.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/cache.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/config.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/containers/container.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/containers/models.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/data.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/errors.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/logging.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/meta.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/namespaces/models.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/namespaces/namespace.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/orign.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/processors/consumer.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/processors/consumer_health_worker.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/processors/consumer_process_worker.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/processors/decorate.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/processors/default.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/processors/models.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/redis/models.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu/services/service.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu.egg-info/SOURCES.txt +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu.egg-info/dependency_links.txt +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu.egg-info/requires.txt +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/src/nebu.egg-info/top_level.txt +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/tests/test_bucket.py +0 -0
- {nebu-0.1.125 → nebu-0.1.126}/tests/test_containers.py +0 -0
@@ -259,6 +259,8 @@ class Processor(Generic[InputType, OutputType]):
|
|
259
259
|
api_key: Optional[str] = None,
|
260
260
|
user_key: Optional[str] = None,
|
261
261
|
timeout: Optional[float] = 3600,
|
262
|
+
poll: bool = False,
|
263
|
+
poll_interval_seconds: float = 2.0,
|
262
264
|
) -> OutputType | Dict[str, Any] | None:
|
263
265
|
"""
|
264
266
|
Allows the Processor instance to be called like a function, sending data.
|
@@ -270,6 +272,8 @@ class Processor(Generic[InputType, OutputType]):
|
|
270
272
|
api_key=api_key,
|
271
273
|
user_key=user_key,
|
272
274
|
timeout=timeout,
|
275
|
+
poll=poll,
|
276
|
+
poll_interval_seconds=poll_interval_seconds,
|
273
277
|
)
|
274
278
|
|
275
279
|
def send(
|
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
|
File without changes
|
File without changes
|