omnata-plugin-runtime 0.5.4a124__tar.gz → 0.5.5__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.5}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/configuration.py +4 -2
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/omnata_plugin.py +1 -1
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/LICENSE +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/README.md +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.5.4a124 → 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 [
|
@@ -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.5}/src/omnata_plugin_runtime/api.py
RENAMED
File without changes
|
{omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/forms.py
RENAMED
File without changes
|
{omnata_plugin_runtime-0.5.4a124 → omnata_plugin_runtime-0.5.5}/src/omnata_plugin_runtime/logging.py
RENAMED
File without changes
|
File without changes
|
File without changes
|