omnata-plugin-runtime 0.3.16a55__py3-none-any.whl → 0.3.16a57__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.
@@ -920,7 +920,8 @@ class InboundSyncRequest(SyncRequest):
920
920
  self._apply_results_dataframe(stream_names, all_dfs)
921
921
  # update the stream state object too
922
922
  self._apply_latest_states()
923
- self._apply_results[stream_name] = None
923
+ for stream_name in stream_names:
924
+ self._apply_results[stream_name] = None
924
925
  self._apply_results = {}
925
926
  # update the inbound stream record counts, so we can see progress
926
927
  self._plugin_message(
@@ -1191,6 +1192,8 @@ class InboundSyncRequest(SyncRequest):
1191
1192
  )
1192
1193
 
1193
1194
  results_df["APP_IDENTIFIER"] = results_df["RECORD_DATA"].apply(lambda x: get_nested_value(dict(x),primary_key_field))
1195
+ # ensure APP_IDENTIFIER is a string
1196
+ results_df["APP_IDENTIFIER"] = results_df["APP_IDENTIFIER"].apply(str)
1194
1197
  # the timestamps in Snowflake are TIMESTAMP_LTZ, so we upload in string format to ensure the
1195
1198
  # timezone information is present.
1196
1199
  results_df["RETRIEVE_DATE"] = str(datetime.datetime.now().astimezone())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.3.16a55
3
+ Version: 0.3.16a57
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=_N5ok5LN7GDO4J9n3yduXp3tpjmhpySY__U2baiygrs,
3
3
  omnata_plugin_runtime/configuration.py,sha256=at29ExowF_T4_2U9gY0BF4IVdwC-vDytmNRHL7UCWh8,34742
4
4
  omnata_plugin_runtime/forms.py,sha256=30CJB24TqfLYNnkplZdUbeqA-P9rUIBujVKXw_S-wKY,18371
5
5
  omnata_plugin_runtime/logging.py,sha256=bn7eKoNWvtuyTk7RTwBS9UARMtqkiICtgMtzq3KA2V0,3272
6
- omnata_plugin_runtime/omnata_plugin.py,sha256=tQVKx8bNUsPLqROwU4gTp1mZcl_Rk8LPKIcLTYepDNY,99092
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=hygZU0EwuFmob-LAL57C_tj8Ft_OTQ81NoEZkEqHppc,99276
7
7
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=_XgmWsrHoSshkl5Z2T27BAGVnBh4yH-8lni5sdGlSz8,27670
8
8
  omnata_plugin_runtime/rate_limiting.py,sha256=se6MftQI5NrVHaLb1hByPCgAESPQhkAgIG7KIU1clDU,16562
9
- omnata_plugin_runtime-0.3.16a55.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.3.16a55.dist-info/METADATA,sha256=Ai6a-iPSJkgM-CEmQhg3UgUmE_-pZbT5kwVUJ10KBEE,1604
11
- omnata_plugin_runtime-0.3.16a55.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.3.16a55.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.3.16a57.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.3.16a57.dist-info/METADATA,sha256=BDuiyDJh2ZLvrNZ3syzOs3ZMTwkn4VTp7iD-T2o4NlY,1604
11
+ omnata_plugin_runtime-0.3.16a57.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.3.16a57.dist-info/RECORD,,