omnata-plugin-runtime 0.5.4a124__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.4a124 → omnata_plugin_runtime-0.5.5a126}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5a126}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/configuration.py +3 -1
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/omnata_plugin.py +1 -1
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5a126}/LICENSE +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5a126}/README.md +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5a126}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.5.4a124 → 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):
|
@@ -1012,7 +1012,7 @@ class InboundSyncRequest(SyncRequest):
|
|
1012
1012
|
new_progress_update = PluginMessageStreamProgressUpdate(
|
1013
1013
|
stream_total_counts=self._stream_record_counts,
|
1014
1014
|
# records could have been marked as completed, but still have results to apply
|
1015
|
-
completed_streams=[s for s in self._completed_streams if s not in self._apply_results
|
1015
|
+
completed_streams=[s for s in self._completed_streams if s not in self._apply_results or self._apply_results[s] is None],
|
1016
1016
|
stream_errors=self._omnata_log_handler.stream_global_errors,
|
1017
1017
|
total_records_estimate=self._total_records_estimate
|
1018
1018
|
)
|
File without changes
|
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.5.4a124 → 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
|