omnata-plugin-runtime 0.6.7a174__tar.gz → 0.6.8a177__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "omnata-plugin-runtime"
3
- version = "0.6.7-a174"
3
+ version = "0.6.8-a177"
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"
@@ -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