omnata-plugin-runtime 0.5.4a124__py3-none-any.whl → 0.5.5a126__py3-none-any.whl

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.
@@ -112,7 +112,8 @@ class OutboundSyncAction(SubscriptableBaseModel, ABC):
112
112
  super().__init__(**data)
113
113
 
114
114
  @model_serializer(mode='wrap')
115
- def ser_model(self,handler,info:SerializationInfo) -> Dict[str, Any]:
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[s] or self._apply_results[s] is None],
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
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.5.4a124
3
+ Version: 0.5.5a126
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  Author: James Weakley
6
6
  Author-email: james.weakley@omnata.com
@@ -1,12 +1,12 @@
1
1
  omnata_plugin_runtime/__init__.py,sha256=MS9d1whnfT_B3-ThqZ7l63QeC_8OEKTuaYV5wTwRpBA,1576
2
2
  omnata_plugin_runtime/api.py,sha256=FxzTqri4no8ClkOm7vZADG8aD47jcGBCTTQDEORmOJM,6326
3
- omnata_plugin_runtime/configuration.py,sha256=g_p8z0b23FQInlAaPuLIxpH_qoAbaEZp2ZL3m7Xml-A,36631
3
+ omnata_plugin_runtime/configuration.py,sha256=ieUGvDOQblDkqh5hwW1p9Ax8pquNlsV80o197Ydfr3E,36833
4
4
  omnata_plugin_runtime/forms.py,sha256=GzSPEwcijsoPCXEO1mHiE8ylvX_KSE5TkhwqkymA2Ss,19755
5
5
  omnata_plugin_runtime/logging.py,sha256=bn7eKoNWvtuyTk7RTwBS9UARMtqkiICtgMtzq3KA2V0,3272
6
- omnata_plugin_runtime/omnata_plugin.py,sha256=k0LOLIO9DU1z1a2vISM7-y4wpZqy1Qu-uSgQes91vn4,111531
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=XyiWPEFKoH0H8bYuTVgTacpL5OM2K3lVRjlayENuR9A,111528
7
7
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=JirYUbPBaN0UMh9t_uAHDdhaQZ7NUhdMJ11eHRKOoNY,29302
8
8
  omnata_plugin_runtime/rate_limiting.py,sha256=DVQ_bc-mVLBkrU1PTns1MWXhHiLpSB5HkWCcdePtJ2A,25611
9
- omnata_plugin_runtime-0.5.4a124.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.5.4a124.dist-info/METADATA,sha256=RdwlOcIhcS6KKo53y3quCc60iGpX1bfwlM8SqIr9HyI,1951
11
- omnata_plugin_runtime-0.5.4a124.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.5.4a124.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.5.5a126.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.5.5a126.dist-info/METADATA,sha256=R3ho9CYAADAYAipjFkWuR90FevdxxoVsZocGoNG0kzM,1951
11
+ omnata_plugin_runtime-0.5.5a126.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.5.5a126.dist-info/RECORD,,