omnata-plugin-runtime 0.6.7a174__py3-none-any.whl → 0.6.8a177__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1011,6 +1011,7 @@ class InboundSyncRequest(SyncRequest):
1011
1011
  stream_name: 0 for stream_name in self._streams_dict.keys()
1012
1012
  }
1013
1013
  self._completed_streams: List[str] = []
1014
+ self.streams_requiring_view_refresh: List[str] = []
1014
1015
  self._omnata_log_handler = omnata_log_handler
1015
1016
  SyncRequest.__init__(
1016
1017
  self,
@@ -1295,7 +1296,7 @@ class InboundSyncRequest(SyncRequest):
1295
1296
  ]
1296
1297
  for datetime_property in datetime_properties:
1297
1298
  try:
1298
- if datetime_property in data:
1299
+ if datetime_property in data and data[datetime_property] is not None:
1299
1300
  data[datetime_property] = parse(
1300
1301
  data[datetime_property]
1301
1302
  ).isoformat()
@@ -245,6 +245,7 @@ class PluginEntrypoint:
245
245
  stream_errors=omnata_log_handler.stream_global_errors,
246
246
  total_records_estimate=inbound_sync_request._total_records_estimate
247
247
  )
248
+ return_dict["streams_requiring_view_refresh"] = inbound_sync_request.streams_requiring_view_refresh
248
249
  return_dict["final_progress_update"] = final_progress_update.model_dump()
249
250
  if inbound_sync_request.deadline_reached:
250
251
  # if we actually hit the deadline, this is flagged by the cancellation checking worker and the cancellation
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.6.7a174
3
+ Version: 0.6.8a177
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
@@ -3,10 +3,10 @@ omnata_plugin_runtime/api.py,sha256=FxzTqri4no8ClkOm7vZADG8aD47jcGBCTTQDEORmOJM,
3
3
  omnata_plugin_runtime/configuration.py,sha256=TI6GaVFhewVawBCaYN34GujY57qEP6q2nik4YpSEk5s,38100
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=fYeOnhLrM1Rebl8ZTAPHzw2lDF-XvSTjyWTiqilf8Bg,128752
7
- omnata_plugin_runtime/plugin_entrypoints.py,sha256=-dIaNu8Z78BXGxencWQtmRvOnvU48B0uT_SuisbBalo,28504
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=GJ88ON41FYHG4OAFbqPeVusieKkbZ9he880hgWiERLI,128852
7
+ omnata_plugin_runtime/plugin_entrypoints.py,sha256=cQRBzNQiKFO088FTzDAyhxp_meJxxuIy1lX8uA0o7FI,28620
8
8
  omnata_plugin_runtime/rate_limiting.py,sha256=JukA0l7x7Klqz2b54mR-poP7NRxpUHgWSGp6h0B8u6Q,25612
9
- omnata_plugin_runtime-0.6.7a174.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
10
- omnata_plugin_runtime-0.6.7a174.dist-info/METADATA,sha256=0cYxXeVWuaDrpPgdQLm2rcJn_61HIMQJEMChnSICkh8,1985
11
- omnata_plugin_runtime-0.6.7a174.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.6.7a174.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.6.8a177.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
10
+ omnata_plugin_runtime-0.6.8a177.dist-info/METADATA,sha256=fz_pcTrP_mnzSs1-bsjMIbFPx-SoYJuW-sUxCl3Jmq4,1985
11
+ omnata_plugin_runtime-0.6.8a177.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
12
+ omnata_plugin_runtime-0.6.8a177.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.0
2
+ Generator: poetry-core 1.9.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any