omnata-plugin-runtime 0.11.0a305__tar.gz → 0.11.0a306__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.11.0a305
3
+ Version: 0.11.0a306
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.11.0-a305"
3
+ version = "0.11.0-a306"
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"
@@ -1222,6 +1222,14 @@ class InboundSyncRequest(SyncRequest):
1222
1222
  if result is None:
1223
1223
  return False
1224
1224
  self._last_stream_progress_update = new_progress_update
1225
+ else:
1226
+ completed_streams_awaiting_results_upload = [
1227
+ s for s in self._completed_streams if s in self._apply_results and self._apply_results[s] is not None
1228
+ ]
1229
+ for completed_stream_awaiting_results_upload in completed_streams_awaiting_results_upload:
1230
+ logger.debug(
1231
+ f"Stream {completed_stream_awaiting_results_upload} is marked as completed but awaiting upload of {len(self._apply_results[completed_stream_awaiting_results_upload])} results"
1232
+ )
1225
1233
  return True
1226
1234
 
1227
1235
  def apply_cancellation(self):