omnata-plugin-runtime 0.4.0a89__py3-none-any.whl → 0.4.0a90__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  """
@@ -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
@@ -3,10 +3,10 @@ omnata_plugin_runtime/api.py,sha256=W79CsAcl127Dzy-XVS9CzvzsbS3IigVH4QAhFFDkaXg,
3
3
  omnata_plugin_runtime/configuration.py,sha256=7cMekoY8CeZAJHpASU6tCMidF55Hzfr7CD74jtebqIY,35742
4
4
  omnata_plugin_runtime/forms.py,sha256=pw_aKVsXSz47EP8PFBI3VDwdSN5IjvZxp8JTjO1V130,18421
5
5
  omnata_plugin_runtime/logging.py,sha256=bn7eKoNWvtuyTk7RTwBS9UARMtqkiICtgMtzq3KA2V0,3272
6
- omnata_plugin_runtime/omnata_plugin.py,sha256=JJtpl8iKcTMgIOymkZh9yKMhZBemXQOGe8s8iJSw5Hk,108276
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=mJ5NHtenbLpkN0w9JSfb3jQVFShi8RDnsePAoF75b5E,108444
7
7
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=D2f0Qih7KTJNXIDYkA-E55RTEK_7Jtv9ySqspWxERVA,28272
8
8
  omnata_plugin_runtime/rate_limiting.py,sha256=29Hjsr0i1rE8jERVdIFGINfQfp_kI3PDft-IM_ZxvCA,21509
9
- omnata_plugin_runtime-0.4.0a89.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.4.0a89.dist-info/METADATA,sha256=LEkEREX1mBrQoSb6abHniwlf8gZfkBicmmzhbP_Glgw,1603
11
- omnata_plugin_runtime-0.4.0a89.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.4.0a89.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.4.0a90.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.4.0a90.dist-info/METADATA,sha256=WxKUgmiDnEV4ytmWaB6uHuSi1hA9tFXSnxIIuKta2hI,1603
11
+ omnata_plugin_runtime-0.4.0a90.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.4.0a90.dist-info/RECORD,,