omnata-plugin-runtime 0.11.0a303__py3-none-any.whl → 0.11.0a304__py3-none-any.whl

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.
@@ -282,6 +282,11 @@ class PluginEntrypoint:
282
282
  # token is set. We throw it here as an error since that's currently how it flows back to the engine with a DELAYED state
283
283
  raise DeadlineReachedException()
284
284
  finally:
285
+ # try to upload any remaining results
286
+ try:
287
+ inbound_sync_request.apply_results_queue()
288
+ except Exception as e:
289
+ logger.warning(f"Error uploading remaining results: {str(e)}", exc_info=True)
285
290
  # cancel the thread so we don't leave anything hanging around and cop a nasty error
286
291
  try:
287
292
  inbound_sync_request._thread_cancellation_token.set() # pylint: disable=protected-access
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.11.0a303
3
+ Version: 0.11.0a304
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
@@ -5,9 +5,9 @@ omnata_plugin_runtime/forms.py,sha256=Lrbr3otsFDrvHWJw7v-slsW4PvEHJ6BG1Yl8oaJfiD
5
5
  omnata_plugin_runtime/json_schema.py,sha256=xI5YeoxdV1e4fYLUYB-1ZGXZrLAIrSnKj91189wf8cQ,49943
6
6
  omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
7
7
  omnata_plugin_runtime/omnata_plugin.py,sha256=OfgpX-iRARjZLyeYj-q2Ecl_SM9T1o0E-5Bej3_C-aM,139476
8
- omnata_plugin_runtime/plugin_entrypoints.py,sha256=J-nPRTEf2LrJaf_JSCPBoq5e1ns4IUuwtIER9AE2Esg,32354
8
+ omnata_plugin_runtime/plugin_entrypoints.py,sha256=_1pDLov3iQorGmfcae8Sw2bVjxw1vYeowBaKKNzRclQ,32629
9
9
  omnata_plugin_runtime/rate_limiting.py,sha256=qpr5esU4Ks8hMzuMpSR3gLFdor2ZUXYWCjmsQH_K6lQ,25882
10
- omnata_plugin_runtime-0.11.0a303.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
- omnata_plugin_runtime-0.11.0a303.dist-info/METADATA,sha256=M70xa4Tib-wo5FU926W2_QKbJzBcfLNkpiVWyw1CSyc,2211
12
- omnata_plugin_runtime-0.11.0a303.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
13
- omnata_plugin_runtime-0.11.0a303.dist-info/RECORD,,
10
+ omnata_plugin_runtime-0.11.0a304.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
+ omnata_plugin_runtime-0.11.0a304.dist-info/METADATA,sha256=e1DHYVVE7AkAZOLtncggTWbFbAQ7M5zLbFHC5iCrQGo,2211
12
+ omnata_plugin_runtime-0.11.0a304.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
13
+ omnata_plugin_runtime-0.11.0a304.dist-info/RECORD,,