omnata-plugin-runtime 0.5.4a125__tar.gz → 0.5.5__tar.gz
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-0.5.4a125 → omnata_plugin_runtime-0.5.5}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/configuration.py +4 -2
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/LICENSE +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/README.md +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/omnata_plugin.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/rate_limiting.py +0 -0
@@ -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,7 +255,8 @@ class OutboundSyncStrategy(SubscriptableBaseModel, ABC):
|
|
254
255
|
super().__init__(**data)
|
255
256
|
|
256
257
|
@model_serializer(mode='wrap')
|
257
|
-
|
258
|
+
# no return type hint, see https://github.com/fastapi/fastapi/discussions/10661#discussioncomment-7631104
|
259
|
+
def ser_model(self,handler,info:SerializationInfo):
|
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):
|
260
262
|
return {k:v for k,v in serialized.items() if k not in [
|
File without changes
|
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/api.py
RENAMED
File without changes
|
{omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/forms.py
RENAMED
File without changes
|
{omnata_plugin_runtime-0.5.4a125 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/logging.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|