omnata-plugin-runtime 0.5.4a125__tar.gz → 0.5.5a126__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/configuration.py +3 -1
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/LICENSE +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/README.md +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/omnata_plugin.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/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.
|
3
|
+
version = "0.5.5-a126"
|
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"
|
@@ -112,7 +112,8 @@ class OutboundSyncAction(SubscriptableBaseModel, ABC):
|
|
112
112
|
super().__init__(**data)
|
113
113
|
|
114
114
|
@model_serializer(mode='wrap')
|
115
|
-
|
115
|
+
# no return type hint, see https://github.com/fastapi/fastapi/discussions/10661#discussioncomment-7631104
|
116
|
+
def ser_model(self,handler,info:SerializationInfo):
|
116
117
|
serialized:Dict[str,Any] = handler(self)
|
117
118
|
if not self.custom_action and (info.exclude_none is None or info.exclude_none == False):
|
118
119
|
return {k:v for k,v in serialized.items() if k not in [
|
@@ -254,6 +255,7 @@ class OutboundSyncStrategy(SubscriptableBaseModel, ABC):
|
|
254
255
|
super().__init__(**data)
|
255
256
|
|
256
257
|
@model_serializer(mode='wrap')
|
258
|
+
# no return type hint, see https://github.com/fastapi/fastapi/discussions/10661#discussioncomment-7631104
|
257
259
|
def ser_model(self,handler,info:SerializationInfo) -> Dict[str, Any]:
|
258
260
|
serialized:Dict[str,Any] = handler(self)
|
259
261
|
if not self.custom_strategy and (info.exclude_none is None or info.exclude_none == False):
|
File without changes
|
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5a126}/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
|