omnata-plugin-runtime 0.5.2a116__tar.gz → 0.5.2a117__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/src/omnata_plugin_runtime/plugin_entrypoints.py +2 -1
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/LICENSE +0 -0
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/README.md +0 -0
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/src/omnata_plugin_runtime/omnata_plugin.py +0 -0
- {omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/src/omnata_plugin_runtime/rate_limiting.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "omnata-plugin-runtime"
|
3
|
-
version = "0.5.2-
|
3
|
+
version = "0.5.2-a117"
|
4
4
|
description = "Classes and common runtime components for building and running Omnata Plugins"
|
5
5
|
authors = ["James Weakley <james.weakley@omnata.com>"]
|
6
6
|
readme = "README.md"
|
@@ -32,6 +32,7 @@ from .omnata_plugin import (
|
|
32
32
|
OutboundSyncRequest,
|
33
33
|
DeadlineReachedException,
|
34
34
|
)
|
35
|
+
from pydantic import TypeAdapter
|
35
36
|
from .rate_limiting import ApiLimits, RateLimitState
|
36
37
|
|
37
38
|
# set the logger class to our custom logger so that pydantic errors are handled correctly
|
@@ -375,7 +376,7 @@ class PluginEntrypoint:
|
|
375
376
|
|
376
377
|
def create_billing_events(self, session, event_request: Dict):
|
377
378
|
logger.info("Entered create_billing_events method")
|
378
|
-
request = BillingEventRequest.
|
379
|
+
request = TypeAdapter(BillingEventRequest).validate_python(event_request)
|
379
380
|
events: List[SnowflakeBillingEvent] = self._plugin_instance.create_billing_events(
|
380
381
|
request
|
381
382
|
)
|
File without changes
|
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.5.2a116 → omnata_plugin_runtime-0.5.2a117}/src/omnata_plugin_runtime/api.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|