omnata-plugin-runtime 0.2.79__py3-none-any.whl → 0.2.80__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.
- omnata_plugin_runtime/omnata_plugin.py +5 -3
- {omnata_plugin_runtime-0.2.79.dist-info → omnata_plugin_runtime-0.2.80.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.2.79.dist-info → omnata_plugin_runtime-0.2.80.dist-info}/RECORD +5 -5
- {omnata_plugin_runtime-0.2.79.dist-info → omnata_plugin_runtime-0.2.80.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.2.79.dist-info → omnata_plugin_runtime-0.2.80.dist-info}/WHEEL +0 -0
@@ -1711,7 +1711,9 @@ def managed_inbound_processing(concurrency: int):
|
|
1711
1711
|
)
|
1712
1712
|
|
1713
1713
|
if self._sync_request.development_mode is True:
|
1714
|
-
|
1714
|
+
concurrency_to_use = 1 # disable concurrency when running in development mode, it interferes with pyvcr
|
1715
|
+
else:
|
1716
|
+
concurrency_to_use = concurrency
|
1715
1717
|
# if self._sync_request.api_limits is None:
|
1716
1718
|
# raise ValueError('To use the managed_inbound_processing decorator, API constraints must be defined. These can be provided in the response to the connect method')
|
1717
1719
|
if len(method_args) == 0:
|
@@ -1734,9 +1736,9 @@ def managed_inbound_processing(concurrency: int):
|
|
1734
1736
|
streams_queue.put(stream)
|
1735
1737
|
|
1736
1738
|
tasks = []
|
1737
|
-
logger.info(f"Creating {
|
1739
|
+
logger.info(f"Creating {concurrency_to_use} worker(s) for retrieving records")
|
1738
1740
|
|
1739
|
-
for i in range(
|
1741
|
+
for i in range(concurrency_to_use):
|
1740
1742
|
# the dataframe/generator was put on the queue, so we remove it from the method args
|
1741
1743
|
task = threading.Thread(
|
1742
1744
|
target=__managed_inbound_processing_worker,
|
@@ -3,10 +3,10 @@ omnata_plugin_runtime/api.py,sha256=vKq7goVPX5cPQ9CVN9l8RmpJDcqDwS5y9v1IWhWjBbk,
|
|
3
3
|
omnata_plugin_runtime/configuration.py,sha256=NICse7qMtReIYY4ZCu8ng4QDJ4rFP0g3mZwc8m1Xl54,32247
|
4
4
|
omnata_plugin_runtime/forms.py,sha256=_KqSMQG749wImLKxPZh3B3doTZMbP5jDvF6BhQNkPCM,17375
|
5
5
|
omnata_plugin_runtime/logging.py,sha256=Q6eSqrr3SzwfVAg4r4sV1dlxeNS_PzOtZfieoWUEOZQ,3232
|
6
|
-
omnata_plugin_runtime/omnata_plugin.py,sha256=
|
6
|
+
omnata_plugin_runtime/omnata_plugin.py,sha256=eshPKK9I4o1kVKXIJoihwNuje-uOnDXA7x5UlzVv_i8,86096
|
7
7
|
omnata_plugin_runtime/plugin_entrypoints.py,sha256=dV_JOEWffdkAkofFYJMAsM_-gE9OpM2-paI2dsh5Rzo,24352
|
8
8
|
omnata_plugin_runtime/rate_limiting.py,sha256=QO8VB1H8al6a8-ydohUmL0c5JynXG2bulmuPRs2-2-Y,14910
|
9
|
-
omnata_plugin_runtime-0.2.
|
10
|
-
omnata_plugin_runtime-0.2.
|
11
|
-
omnata_plugin_runtime-0.2.
|
12
|
-
omnata_plugin_runtime-0.2.
|
9
|
+
omnata_plugin_runtime-0.2.80.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
|
10
|
+
omnata_plugin_runtime-0.2.80.dist-info/METADATA,sha256=D765jJJBMwsdpVrEd87ohxQ-RXfBB32UejdAShXBWmo,1086
|
11
|
+
omnata_plugin_runtime-0.2.80.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
12
|
+
omnata_plugin_runtime-0.2.80.dist-info/RECORD,,
|
File without changes
|
File without changes
|