omnata-plugin-runtime 0.8.0a194__py3-none-any.whl → 0.8.0a196__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/configuration.py +1 -4
- omnata_plugin_runtime/logging.py +1 -0
- omnata_plugin_runtime/omnata_plugin.py +1 -3
- omnata_plugin_runtime/plugin_entrypoints.py +1 -2
- omnata_plugin_runtime/rate_limiting.py +1 -4
- {omnata_plugin_runtime-0.8.0a194.dist-info → omnata_plugin_runtime-0.8.0a196.dist-info}/METADATA +1 -1
- omnata_plugin_runtime-0.8.0a196.dist-info/RECORD +12 -0
- omnata_plugin_runtime-0.8.0a194.dist-info/RECORD +0 -12
- {omnata_plugin_runtime-0.8.0a194.dist-info → omnata_plugin_runtime-0.8.0a196.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.8.0a194.dist-info → omnata_plugin_runtime-0.8.0a196.dist-info}/WHEEL +0 -0
@@ -11,7 +11,7 @@ from enum import Enum
|
|
11
11
|
|
12
12
|
from abc import ABC
|
13
13
|
from pydantic import BaseModel, Field, PrivateAttr, SerializationInfo, TypeAdapter, field_validator, model_serializer, validator # pylint: disable=no-name-in-module
|
14
|
-
from .logging import logger
|
14
|
+
from .logging import logger, tracer
|
15
15
|
|
16
16
|
if tuple(sys.version_info[:2]) >= (3, 9):
|
17
17
|
# Python 3.9 and above
|
@@ -19,9 +19,6 @@ if tuple(sys.version_info[:2]) >= (3, 9):
|
|
19
19
|
else:
|
20
20
|
# Python 3.8 and below
|
21
21
|
from typing_extensions import Annotated
|
22
|
-
from opentelemetry import trace
|
23
|
-
|
24
|
-
tracer = trace.get_tracer(__name__)
|
25
22
|
|
26
23
|
class MapperType(str, Enum):
|
27
24
|
FIELD_MAPPING_SELECTOR = "field_mapping_selector"
|
omnata_plugin_runtime/logging.py
CHANGED
@@ -47,7 +47,7 @@ from snowflake.snowpark import Session
|
|
47
47
|
from snowflake.snowpark.functions import col
|
48
48
|
from tenacity import Retrying, stop_after_attempt, wait_fixed, retry_if_exception_message
|
49
49
|
|
50
|
-
from .logging import OmnataPluginLogHandler, logger
|
50
|
+
from .logging import OmnataPluginLogHandler, logger, tracer
|
51
51
|
|
52
52
|
from .api import (
|
53
53
|
PluginMessage,
|
@@ -87,8 +87,6 @@ from .rate_limiting import (
|
|
87
87
|
RateLimitState,
|
88
88
|
RateLimitedSession
|
89
89
|
)
|
90
|
-
from opentelemetry import trace
|
91
|
-
tracer = trace.get_tracer('omnata_plugin_runtime')
|
92
90
|
|
93
91
|
SortDirectionType = Literal["asc", "desc"]
|
94
92
|
|
@@ -24,7 +24,7 @@ from .configuration import (
|
|
24
24
|
ConnectivityOption
|
25
25
|
)
|
26
26
|
from .forms import ConnectionMethod, FormInputField, FormOption
|
27
|
-
from .logging import OmnataPluginLogHandler, logger
|
27
|
+
from .logging import OmnataPluginLogHandler, logger, tracer
|
28
28
|
from .omnata_plugin import (
|
29
29
|
SnowflakeBillingEvent,
|
30
30
|
BillingEventRequest,
|
@@ -39,7 +39,6 @@ from .rate_limiting import ApiLimits, RateLimitState
|
|
39
39
|
from opentelemetry import trace
|
40
40
|
|
41
41
|
IMPORT_DIRECTORY_NAME = "snowflake_import_directory"
|
42
|
-
tracer = trace.get_tracer('omnata_plugin_runtime')
|
43
42
|
|
44
43
|
class PluginEntrypoint:
|
45
44
|
"""
|
@@ -15,13 +15,10 @@ import logging
|
|
15
15
|
from pydantic import Field, root_validator, PrivateAttr, field_serializer
|
16
16
|
from pydantic_core import to_jsonable_python
|
17
17
|
from .configuration import SubscriptableBaseModel
|
18
|
-
from .logging import logger
|
18
|
+
from .logging import logger, tracer
|
19
19
|
import pytz
|
20
20
|
from requests.adapters import HTTPAdapter
|
21
21
|
from urllib3.util.retry import Retry
|
22
|
-
from opentelemetry import trace
|
23
|
-
|
24
|
-
tracer = trace.get_tracer(__name__)
|
25
22
|
|
26
23
|
TimeUnitType = Literal["second", "minute", "hour", "day"]
|
27
24
|
|
@@ -0,0 +1,12 @@
|
|
1
|
+
omnata_plugin_runtime/__init__.py,sha256=MS9d1whnfT_B3-ThqZ7l63QeC_8OEKTuaYV5wTwRpBA,1576
|
2
|
+
omnata_plugin_runtime/api.py,sha256=tVi4KLL0v5N3yz3Ie0kSyFemryu572gCbtSRfWN6wBU,6523
|
3
|
+
omnata_plugin_runtime/configuration.py,sha256=6JmgE4SL3F5cGlDYqt17A1vTFu6nB74yWgEpQ5qV9ho,38380
|
4
|
+
omnata_plugin_runtime/forms.py,sha256=ueodN2GIMS5N9fqebpY4uNGJnjEb9HcuaVQVfWH-cGg,19838
|
5
|
+
omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
|
6
|
+
omnata_plugin_runtime/omnata_plugin.py,sha256=ZMoF5ef9GT0ri8nof_3JaJT4dTQ9oDRf22zw-5UryjI,130600
|
7
|
+
omnata_plugin_runtime/plugin_entrypoints.py,sha256=3nqIWOlUdNVkBu7YBqC73Gb5G_xvMUzmlZf838N0JSg,32728
|
8
|
+
omnata_plugin_runtime/rate_limiting.py,sha256=eOWVRYWiqPlVeYzmB1exVXfXbrcpmYb7vtTi9B-4zkQ,25868
|
9
|
+
omnata_plugin_runtime-0.8.0a196.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
|
10
|
+
omnata_plugin_runtime-0.8.0a196.dist-info/METADATA,sha256=VV30-KJNW4hdBTgBsZjDUhmyUu9VUl_5Hhk8m5CBcsc,2148
|
11
|
+
omnata_plugin_runtime-0.8.0a196.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
12
|
+
omnata_plugin_runtime-0.8.0a196.dist-info/RECORD,,
|
@@ -1,12 +0,0 @@
|
|
1
|
-
omnata_plugin_runtime/__init__.py,sha256=MS9d1whnfT_B3-ThqZ7l63QeC_8OEKTuaYV5wTwRpBA,1576
|
2
|
-
omnata_plugin_runtime/api.py,sha256=tVi4KLL0v5N3yz3Ie0kSyFemryu572gCbtSRfWN6wBU,6523
|
3
|
-
omnata_plugin_runtime/configuration.py,sha256=uMGMqKYy4XmntX1ROungUwTJXeY2ciczAb_PtRCFZZI,38441
|
4
|
-
omnata_plugin_runtime/forms.py,sha256=ueodN2GIMS5N9fqebpY4uNGJnjEb9HcuaVQVfWH-cGg,19838
|
5
|
-
omnata_plugin_runtime/logging.py,sha256=-8BqjgIOhmAFlHz0U_n4YPPme_YvjXyFDjtpbkbS9c8,4410
|
6
|
-
omnata_plugin_runtime/omnata_plugin.py,sha256=FRm5RdI-wzgnXdptV8a-OLTPTg4iyvkCmpwrkANBgpI,130675
|
7
|
-
omnata_plugin_runtime/plugin_entrypoints.py,sha256=rpRR-55qMdJ_duf91uvp7jDqMXgUuGx4L1ho8eHwaYM,32771
|
8
|
-
omnata_plugin_runtime/rate_limiting.py,sha256=6fn_h2vxcHbqqiW-OZ6FKfNYv_XlNvorsrCknVce2PA,25929
|
9
|
-
omnata_plugin_runtime-0.8.0a194.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
|
10
|
-
omnata_plugin_runtime-0.8.0a194.dist-info/METADATA,sha256=dVxPOxdZtf_cXevhgoLSGJv5QU9SjO2wIgDyIyr_giI,2148
|
11
|
-
omnata_plugin_runtime-0.8.0a194.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
12
|
-
omnata_plugin_runtime-0.8.0a194.dist-info/RECORD,,
|
{omnata_plugin_runtime-0.8.0a194.dist-info → omnata_plugin_runtime-0.8.0a196.dist-info}/LICENSE
RENAMED
File without changes
|
{omnata_plugin_runtime-0.8.0a194.dist-info → omnata_plugin_runtime-0.8.0a196.dist-info}/WHEEL
RENAMED
File without changes
|