omnata-plugin-runtime 0.3.24a71__py3-none-any.whl → 0.3.24a73__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- omnata_plugin_runtime/omnata_plugin.py +1 -1
- omnata_plugin_runtime/plugin_entrypoints.py +9 -0
- {omnata_plugin_runtime-0.3.24a71.dist-info → omnata_plugin_runtime-0.3.24a73.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.3.24a71.dist-info → omnata_plugin_runtime-0.3.24a73.dist-info}/RECORD +6 -6
- {omnata_plugin_runtime-0.3.24a71.dist-info → omnata_plugin_runtime-0.3.24a73.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.3.24a71.dist-info → omnata_plugin_runtime-0.3.24a73.dist-info}/WHEEL +0 -0
@@ -1933,7 +1933,7 @@ def __managed_inbound_processing_worker(
|
|
1933
1933
|
while not cancellation_token.is_set():
|
1934
1934
|
# Get our generator object out of the queue
|
1935
1935
|
logger.info(
|
1936
|
-
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())})"
|
1937
1937
|
)
|
1938
1938
|
try:
|
1939
1939
|
stream: StoredStreamConfiguration = streams_queue.get_nowait()
|
@@ -57,6 +57,15 @@ class PluginEntrypoint:
|
|
57
57
|
class_obj = getattr(module, class_name)
|
58
58
|
self._plugin_instance: OmnataPlugin = class_obj()
|
59
59
|
self._plugin_instance._session = session # pylint: disable=protected-access
|
60
|
+
# the sync engine can override the snowflake connector log level via a session variable
|
61
|
+
default_snowflake_connector_log_level:str = "WARN"
|
62
|
+
v = session.sql("select getvariable('SNOWFLAKE_CONNECTOR_LOG_LEVEL')").collect()
|
63
|
+
result = v[0][0]
|
64
|
+
if result is not None:
|
65
|
+
default_snowflake_connector_log_level = result
|
66
|
+
snowflake_logger = logging.getLogger("snowflake.connector")
|
67
|
+
snowflake_logger.setLevel(default_snowflake_connector_log_level)
|
68
|
+
snowflake_logger.propagate = False
|
60
69
|
|
61
70
|
def sync(self, sync_request: Dict):
|
62
71
|
logger.info("Entered sync method")
|
{omnata_plugin_runtime-0.3.24a71.dist-info → omnata_plugin_runtime-0.3.24a73.dist-info}/RECORD
RENAMED
@@ -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=
|
7
|
-
omnata_plugin_runtime/plugin_entrypoints.py,sha256
|
6
|
+
omnata_plugin_runtime/omnata_plugin.py,sha256=Mrdno-llID_pvOHmKBiGF57qucb7fu_y556sjGl-it4,103814
|
7
|
+
omnata_plugin_runtime/plugin_entrypoints.py,sha256=-0noaDSwRLdjOBsA37GFKjOV2hInGa5eky2wF90KdNI,28279
|
8
8
|
omnata_plugin_runtime/rate_limiting.py,sha256=se6MftQI5NrVHaLb1hByPCgAESPQhkAgIG7KIU1clDU,16562
|
9
|
-
omnata_plugin_runtime-0.3.
|
10
|
-
omnata_plugin_runtime-0.3.
|
11
|
-
omnata_plugin_runtime-0.3.
|
12
|
-
omnata_plugin_runtime-0.3.
|
9
|
+
omnata_plugin_runtime-0.3.24a73.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
|
10
|
+
omnata_plugin_runtime-0.3.24a73.dist-info/METADATA,sha256=ThKHbi3_-xxypuFL5R0bUMbCHUhnk5M4IJUozSgwDoQ,1604
|
11
|
+
omnata_plugin_runtime-0.3.24a73.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
12
|
+
omnata_plugin_runtime-0.3.24a73.dist-info/RECORD,,
|
{omnata_plugin_runtime-0.3.24a71.dist-info → omnata_plugin_runtime-0.3.24a73.dist-info}/LICENSE
RENAMED
File without changes
|
{omnata_plugin_runtime-0.3.24a71.dist-info → omnata_plugin_runtime-0.3.24a73.dist-info}/WHEEL
RENAMED
File without changes
|