omnata-plugin-runtime 0.3.24a70__tar.gz → 0.3.24a72__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/src/omnata_plugin_runtime/omnata_plugin.py +3 -2
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/LICENSE +0 -0
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/README.md +0 -0
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/src/omnata_plugin_runtime/rate_limiting.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "omnata-plugin-runtime"
|
3
|
-
version = "0.3.24-
|
3
|
+
version = "0.3.24-a72"
|
4
4
|
description = "Classes and common runtime components for building and running Omnata Plugins"
|
5
5
|
authors = ["James Weakley <james.weakley@omnata.com>"]
|
6
6
|
readme = "README.md"
|
@@ -1823,6 +1823,7 @@ def managed_outbound_processing(concurrency: int, batch_size: int):
|
|
1823
1823
|
def actual_decorator(method):
|
1824
1824
|
@wraps(method)
|
1825
1825
|
def _impl(self: OmnataPlugin, *method_args, **method_kwargs):
|
1826
|
+
logger.info(f"managed_outbound_processing invoked with {len(method_args)} positional arguments and {len(method_kwargs)} named arguments ({','.join(method_kwargs.keys())})")
|
1826
1827
|
if self._sync_request is None: # pylint: disable=protected-access
|
1827
1828
|
raise ValueError(
|
1828
1829
|
"To use the managed_outbound_processing decorator, you must attach a sync request to the plugin instance (via the _sync_request property)"
|
@@ -1932,7 +1933,7 @@ def __managed_inbound_processing_worker(
|
|
1932
1933
|
while not cancellation_token.is_set():
|
1933
1934
|
# Get our generator object out of the queue
|
1934
1935
|
logger.info(
|
1935
|
-
f"worker {worker_index} processing. Cancelled: {cancellation_token.is_set()}"
|
1936
|
+
f"worker {worker_index} processing. Cancelled: {cancellation_token.is_set()}. Method args: {len(method_args)}. Method kwargs: {len(method_kwargs.keys())} ({','.join(method_kwargs.keys())})"
|
1936
1937
|
)
|
1937
1938
|
try:
|
1938
1939
|
stream: StoredStreamConfiguration = streams_queue.get_nowait()
|
@@ -1991,7 +1992,7 @@ def managed_inbound_processing(concurrency: int):
|
|
1991
1992
|
raise ValueError(
|
1992
1993
|
"To use the managed_inbound_processing decorator, you must attach an apply request to the plugin instance (via the _sync_request property)"
|
1993
1994
|
)
|
1994
|
-
|
1995
|
+
logger.info(f"managed_inbound_processing invoked with {len(method_args)} positional arguments and {len(method_kwargs)} named arguments ({','.join(method_kwargs.keys())})")
|
1995
1996
|
if self._sync_request.development_mode is True:
|
1996
1997
|
concurrency_to_use = 1 # disable concurrency when running in development mode, it interferes with pyvcr
|
1997
1998
|
else:
|
File without changes
|
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.3.24a70 → omnata_plugin_runtime-0.3.24a72}/src/omnata_plugin_runtime/api.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|