omnata-plugin-runtime 0.2.76__py3-none-any.whl → 0.2.77__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.
@@ -1069,6 +1069,8 @@ class InboundSyncRequest(SyncRequest):
1069
1069
  )
1070
1070
 
1071
1071
  results_df["APP_IDENTIFIER"] = results_df["RECORD_DATA"].apply(lambda x: get_nested_value(dict(x),primary_key_field))
1072
+ # we jump the record data to a json string to make uploading to Snowflake less error prone
1073
+ results_df["RECORD_DATA"] = results_df["RECORD_DATA"].apply(json.dumps)
1072
1074
  # the timestamps in Snowflake are TIMESTAMP_LTZ, so we upload in string format to ensure the
1073
1075
  # timezone information is present.
1074
1076
  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.2.76
3
+ Version: 0.2.77
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=vKq7goVPX5cPQ9CVN9l8RmpJDcqDwS5y9v1IWhWjBbk,
3
3
  omnata_plugin_runtime/configuration.py,sha256=NICse7qMtReIYY4ZCu8ng4QDJ4rFP0g3mZwc8m1Xl54,32247
4
4
  omnata_plugin_runtime/forms.py,sha256=_KqSMQG749wImLKxPZh3B3doTZMbP5jDvF6BhQNkPCM,17375
5
5
  omnata_plugin_runtime/logging.py,sha256=Q6eSqrr3SzwfVAg4r4sV1dlxeNS_PzOtZfieoWUEOZQ,3232
6
- omnata_plugin_runtime/omnata_plugin.py,sha256=3x1xvJ2YaJDh7qHRE9BVg6QnN-V5QsVkYW0NXxcp37o,85805
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=6TZb4OqGo3C6_SydvqssNzhmTM7GS0swe_xzu6NXAaQ,85992
7
7
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=dV_JOEWffdkAkofFYJMAsM_-gE9OpM2-paI2dsh5Rzo,24352
8
8
  omnata_plugin_runtime/rate_limiting.py,sha256=QO8VB1H8al6a8-ydohUmL0c5JynXG2bulmuPRs2-2-Y,14910
9
- omnata_plugin_runtime-0.2.76.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.2.76.dist-info/METADATA,sha256=vsXT_J5tUXWHaXSuTMvhQU3rvwuWeCk9CRYKEjfSfAM,1133
11
- omnata_plugin_runtime-0.2.76.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
12
- omnata_plugin_runtime-0.2.76.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.2.77.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.2.77.dist-info/METADATA,sha256=bmEk89CIVcDMsWfIOE6RHjznkRUJgIm2OqcePFa0qeA,1133
11
+ omnata_plugin_runtime-0.2.77.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
12
+ omnata_plugin_runtime-0.2.77.dist-info/RECORD,,