omnata-plugin-runtime 0.8.0a190__py3-none-any.whl → 0.8.0a192__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- omnata_plugin_runtime/logging.py +1 -1
- omnata_plugin_runtime/plugin_entrypoints.py +1 -1
- {omnata_plugin_runtime-0.8.0a190.dist-info → omnata_plugin_runtime-0.8.0a192.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.8.0a190.dist-info → omnata_plugin_runtime-0.8.0a192.dist-info}/RECORD +6 -6
- {omnata_plugin_runtime-0.8.0a190.dist-info → omnata_plugin_runtime-0.8.0a192.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.8.0a190.dist-info → omnata_plugin_runtime-0.8.0a192.dist-info}/WHEEL +0 -0
omnata_plugin_runtime/logging.py
CHANGED
@@ -34,7 +34,7 @@ class CustomLoggerAdapter(logging.LoggerAdapter):
|
|
34
34
|
kwargs["extra"] = extra
|
35
35
|
return msg, kwargs
|
36
36
|
|
37
|
-
logger = CustomLoggerAdapter(getLogger("
|
37
|
+
logger = CustomLoggerAdapter(getLogger("omnata"), {})
|
38
38
|
|
39
39
|
def log_exception(exception: Exception, logger_instance: Logger):
|
40
40
|
"""
|
@@ -84,6 +84,7 @@ class PluginEntrypoint:
|
|
84
84
|
|
85
85
|
|
86
86
|
def sync(self, sync_request: Dict):
|
87
|
+
request = TypeAdapter(SyncRequestPayload).validate_python(sync_request)
|
87
88
|
logger.add_extra('omnata.operation', 'sync')
|
88
89
|
logger.add_extra('omnata.sync.id', request.sync_id)
|
89
90
|
logger.add_extra('omnata.sync.direction', request.sync_direction)
|
@@ -95,7 +96,6 @@ class PluginEntrypoint:
|
|
95
96
|
with tracer.start_as_current_span("initialization") as span:
|
96
97
|
span.add_event("Fetching secrets")
|
97
98
|
|
98
|
-
request = TypeAdapter(SyncRequestPayload).validate_python(sync_request)
|
99
99
|
connection_secrets = get_secrets(
|
100
100
|
request.oauth_secret_name, request.other_secrets_name
|
101
101
|
)
|
{omnata_plugin_runtime-0.8.0a190.dist-info → omnata_plugin_runtime-0.8.0a192.dist-info}/RECORD
RENAMED
@@ -2,11 +2,11 @@ omnata_plugin_runtime/__init__.py,sha256=MS9d1whnfT_B3-ThqZ7l63QeC_8OEKTuaYV5wTw
|
|
2
2
|
omnata_plugin_runtime/api.py,sha256=tVi4KLL0v5N3yz3Ie0kSyFemryu572gCbtSRfWN6wBU,6523
|
3
3
|
omnata_plugin_runtime/configuration.py,sha256=uMGMqKYy4XmntX1ROungUwTJXeY2ciczAb_PtRCFZZI,38441
|
4
4
|
omnata_plugin_runtime/forms.py,sha256=ueodN2GIMS5N9fqebpY4uNGJnjEb9HcuaVQVfWH-cGg,19838
|
5
|
-
omnata_plugin_runtime/logging.py,sha256=
|
5
|
+
omnata_plugin_runtime/logging.py,sha256=LG-XiWVt30uRCd92oxkA2c23XfKo9qZFChSILhrPFWg,4371
|
6
6
|
omnata_plugin_runtime/omnata_plugin.py,sha256=aggjb_CTTjhgqjS8CHPOm4ENU0jNcYoT6LC8yI1IeF4,130048
|
7
|
-
omnata_plugin_runtime/plugin_entrypoints.py,sha256=
|
7
|
+
omnata_plugin_runtime/plugin_entrypoints.py,sha256=LZHwOsacZmS6JtzNM3OsLvpYyVo_UP0DaCWDWDxrJ0w,32756
|
8
8
|
omnata_plugin_runtime/rate_limiting.py,sha256=6fn_h2vxcHbqqiW-OZ6FKfNYv_XlNvorsrCknVce2PA,25929
|
9
|
-
omnata_plugin_runtime-0.8.
|
10
|
-
omnata_plugin_runtime-0.8.
|
11
|
-
omnata_plugin_runtime-0.8.
|
12
|
-
omnata_plugin_runtime-0.8.
|
9
|
+
omnata_plugin_runtime-0.8.0a192.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
|
10
|
+
omnata_plugin_runtime-0.8.0a192.dist-info/METADATA,sha256=qEcyU1YirzK-D86CRyKb06p-5ojwcUH1nsaTmRaclYE,2148
|
11
|
+
omnata_plugin_runtime-0.8.0a192.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
12
|
+
omnata_plugin_runtime-0.8.0a192.dist-info/RECORD,,
|
{omnata_plugin_runtime-0.8.0a190.dist-info → omnata_plugin_runtime-0.8.0a192.dist-info}/LICENSE
RENAMED
File without changes
|
{omnata_plugin_runtime-0.8.0a190.dist-info → omnata_plugin_runtime-0.8.0a192.dist-info}/WHEEL
RENAMED
File without changes
|