omnata-plugin-runtime 0.11.0a300__py3-none-any.whl → 0.11.0a302__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.
@@ -1191,11 +1191,11 @@ class InboundSyncRequest(SyncRequest):
1191
1191
  if query_id is None:
1192
1192
  query_id = self._get_query_id_for_now()
1193
1193
  for stream_name, latest_state in stream_states_for_upload.items():
1194
- binding_values.append(stream_name, query_id, json.dumps(latest_state))
1194
+ binding_values.extend([stream_name, query_id, json.dumps(latest_state)])
1195
1195
  values_clauses.append(
1196
1196
  f"(?, ?, PARSE_JSON(?))"
1197
1197
  )
1198
- final_query = f"""INSERT INTO {self.state_register_table_name} (STREAM_NAME, QUERY_ID, LATEST_STATE)
1198
+ final_query = f"""INSERT INTO {self.state_register_table_name} (STREAM_NAME, QUERY_ID, STATE_VALUE)
1199
1199
  VALUES {','.join(values_clauses)}"""
1200
1200
  self._session.sql(final_query, binding_values).collect()
1201
1201
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.11.0a300
3
+ Version: 0.11.0a302
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
@@ -4,10 +4,10 @@ omnata_plugin_runtime/configuration.py,sha256=SffokJfgvy6V3kUsoEjXcK3GdNgHo6U3mg
4
4
  omnata_plugin_runtime/forms.py,sha256=Lrbr3otsFDrvHWJw7v-slsW4PvEHJ6BG1Yl8oaJfiDo,20529
5
5
  omnata_plugin_runtime/json_schema.py,sha256=xI5YeoxdV1e4fYLUYB-1ZGXZrLAIrSnKj91189wf8cQ,49943
6
6
  omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
7
- omnata_plugin_runtime/omnata_plugin.py,sha256=oKoeDOeU70SgStGVKq1QMZP7tK5vBmsdF6drFi9-brU,139467
7
+ omnata_plugin_runtime/omnata_plugin.py,sha256=WtGthpfW3ZXc5Mg8D2aLGVAL_r08uXnQlWDnPTJF--U,139468
8
8
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=J-nPRTEf2LrJaf_JSCPBoq5e1ns4IUuwtIER9AE2Esg,32354
9
9
  omnata_plugin_runtime/rate_limiting.py,sha256=qpr5esU4Ks8hMzuMpSR3gLFdor2ZUXYWCjmsQH_K6lQ,25882
10
- omnata_plugin_runtime-0.11.0a300.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
- omnata_plugin_runtime-0.11.0a300.dist-info/METADATA,sha256=j2rUhjjlO_8uxg1hBdYyeIMRx5iXAqNGY_ASoyv-vik,2211
12
- omnata_plugin_runtime-0.11.0a300.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
13
- omnata_plugin_runtime-0.11.0a300.dist-info/RECORD,,
10
+ omnata_plugin_runtime-0.11.0a302.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
+ omnata_plugin_runtime-0.11.0a302.dist-info/METADATA,sha256=Ulq5yp83IZ55zrPwfw6tQb_tez_xzxge0DvpeRyHJuw,2211
12
+ omnata_plugin_runtime-0.11.0a302.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
13
+ omnata_plugin_runtime-0.11.0a302.dist-info/RECORD,,