omnata-plugin-runtime 0.3.24a70__py3-none-any.whl → 0.3.24a72__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.3.24a70
3
+ Version: 0.3.24a72
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  Author: James Weakley
6
6
  Author-email: james.weakley@omnata.com
@@ -3,10 +3,10 @@ omnata_plugin_runtime/api.py,sha256=_N5ok5LN7GDO4J9n3yduXp3tpjmhpySY__U2baiygrs,
3
3
  omnata_plugin_runtime/configuration.py,sha256=7cMekoY8CeZAJHpASU6tCMidF55Hzfr7CD74jtebqIY,35742
4
4
  omnata_plugin_runtime/forms.py,sha256=pw_aKVsXSz47EP8PFBI3VDwdSN5IjvZxp8JTjO1V130,18421
5
5
  omnata_plugin_runtime/logging.py,sha256=bn7eKoNWvtuyTk7RTwBS9UARMtqkiICtgMtzq3KA2V0,3272
6
- omnata_plugin_runtime/omnata_plugin.py,sha256=N05RyAmud6a6BXXtzccFTvbPz4bjF1yFE92Vx6FiRnc,103346
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=Mrdno-llID_pvOHmKBiGF57qucb7fu_y556sjGl-it4,103814
7
7
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=s-SrUnXaS6FaBq1igiJhcCB3Md_a6op-dp_g1H_55QU,27736
8
8
  omnata_plugin_runtime/rate_limiting.py,sha256=se6MftQI5NrVHaLb1hByPCgAESPQhkAgIG7KIU1clDU,16562
9
- omnata_plugin_runtime-0.3.24a70.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.3.24a70.dist-info/METADATA,sha256=qWHXnGRPpqyDfKDnXmgSFu3chfHRa4evj6apwWoCWpA,1604
11
- omnata_plugin_runtime-0.3.24a70.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.3.24a70.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.3.24a72.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.3.24a72.dist-info/METADATA,sha256=xIqC-RKfKfnNmk_UN-rmqsUz9g3HkDymj8Fc67afYTA,1604
11
+ omnata_plugin_runtime-0.3.24a72.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.3.24a72.dist-info/RECORD,,