omnata-plugin-runtime 0.4.0a89__tar.gz → 0.4.0a90__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.4.0a89
3
+ Version: 0.4.0a90
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.4.0-a89"
3
+ version = "0.4.0-a90"
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"
@@ -963,8 +963,6 @@ class InboundSyncRequest(SyncRequest):
963
963
  for stream_name in stream_names:
964
964
  self._apply_results[stream_name] = None
965
965
  self._apply_results = {}
966
- # update the inbound stream record counts, so we can see progress
967
- self.apply_progress_updates()
968
966
 
969
967
  # also take care of uploading delete requests
970
968
  if hasattr(self,'_apply_results_criteria_deletes') and self._apply_results_criteria_deletes is not None:
@@ -984,6 +982,12 @@ class InboundSyncRequest(SyncRequest):
984
982
  self._apply_criteria_deletes_dataframe(all_dfs)
985
983
  # clear the delete requests
986
984
  self._apply_results_criteria_deletes = {}
985
+
986
+
987
+ # update the inbound stream record counts, so we can see progress
988
+ # we do this last, because marking a stream as completed will cause the sync engine to process it
989
+ # so we need to make sure all the results are applied first
990
+ self.apply_progress_updates()
987
991
 
988
992
  def apply_progress_updates(self):
989
993
  """