omnata-plugin-runtime 0.4.9a106__py3-none-any.whl → 0.4.10a108__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- omnata_plugin_runtime/omnata_plugin.py +5 -1
- {omnata_plugin_runtime-0.4.9a106.dist-info → omnata_plugin_runtime-0.4.10a108.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.4.9a106.dist-info → omnata_plugin_runtime-0.4.10a108.dist-info}/RECORD +5 -5
- {omnata_plugin_runtime-0.4.9a106.dist-info → omnata_plugin_runtime-0.4.10a108.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.4.9a106.dist-info → omnata_plugin_runtime-0.4.10a108.dist-info}/WHEEL +0 -0
@@ -688,6 +688,10 @@ class OutboundSyncRequest(SyncRequest):
|
|
688
688
|
results_df["APP_IDENTIFIER"] = None
|
689
689
|
if "LOADBATCH_ID" not in results_df:
|
690
690
|
results_df["LOADBATCH_ID"] = self._get_next_loadbatch_id()
|
691
|
+
# we dump the result data to a json string to make uploading to Snowflake less error prone, but only if it's not None
|
692
|
+
results_df["RESULT"] = results_df["RESULT"].apply(
|
693
|
+
lambda x: json.dumps(x) if x is not None else None
|
694
|
+
)
|
691
695
|
# trim out the columns we don't need to return
|
692
696
|
return results_df[
|
693
697
|
results_df.columns.intersection(
|
@@ -838,7 +842,7 @@ class OutboundSyncRequest(SyncRequest):
|
|
838
842
|
self._session.table(self._full_records_table_name)
|
839
843
|
.filter((col("SYNC_ACTION").in_(sync_action_names))) # type: ignore
|
840
844
|
.select(
|
841
|
-
col("IDENTIFIER"),col("APP_IDENTIFIER"),col("RESULT"), col("SYNC_ACTION"), col("TRANSFORMED_RECORD")
|
845
|
+
col("IDENTIFIER"),col("APP_IDENTIFIER"),col("RESULT"), col("SYNC_ACTION"), col("TRANSFORMED_RECORD"), col("TRANSFORMED_RECORD_PREVIOUS")
|
842
846
|
)
|
843
847
|
)
|
844
848
|
# apply sorting
|
{omnata_plugin_runtime-0.4.9a106.dist-info → omnata_plugin_runtime-0.4.10a108.dist-info}/RECORD
RENAMED
@@ -3,10 +3,10 @@ omnata_plugin_runtime/api.py,sha256=W79CsAcl127Dzy-XVS9CzvzsbS3IigVH4QAhFFDkaXg,
|
|
3
3
|
omnata_plugin_runtime/configuration.py,sha256=7cMekoY8CeZAJHpASU6tCMidF55Hzfr7CD74jtebqIY,35742
|
4
4
|
omnata_plugin_runtime/forms.py,sha256=pw_aKVsXSz47EP8PFBI3VDwdSN5IjvZxp8JTjO1V130,18421
|
5
5
|
omnata_plugin_runtime/logging.py,sha256=bn7eKoNWvtuyTk7RTwBS9UARMtqkiICtgMtzq3KA2V0,3272
|
6
|
-
omnata_plugin_runtime/omnata_plugin.py,sha256=
|
6
|
+
omnata_plugin_runtime/omnata_plugin.py,sha256=Q2qdIz370MeIp5J6nekWHe2DzdtqMm6nchJoKbHH6aA,110658
|
7
7
|
omnata_plugin_runtime/plugin_entrypoints.py,sha256=JAGEdVcy9QEXv7TO5zt7co64LTP8nqGusOc0sJG9GtU,29149
|
8
8
|
omnata_plugin_runtime/rate_limiting.py,sha256=BOxyjERDG46iPY7coYu79jdZ9JqHMYPG-BNyXYOIJmk,24678
|
9
|
-
omnata_plugin_runtime-0.4.
|
10
|
-
omnata_plugin_runtime-0.4.
|
11
|
-
omnata_plugin_runtime-0.4.
|
12
|
-
omnata_plugin_runtime-0.4.
|
9
|
+
omnata_plugin_runtime-0.4.10a108.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
|
10
|
+
omnata_plugin_runtime-0.4.10a108.dist-info/METADATA,sha256=Xg7EC05hzVIS5UqkIrYGqcJpRiGpcFqmOg2X-zDh4SA,1643
|
11
|
+
omnata_plugin_runtime-0.4.10a108.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
12
|
+
omnata_plugin_runtime-0.4.10a108.dist-info/RECORD,,
|
{omnata_plugin_runtime-0.4.9a106.dist-info → omnata_plugin_runtime-0.4.10a108.dist-info}/LICENSE
RENAMED
File without changes
|
{omnata_plugin_runtime-0.4.9a106.dist-info → omnata_plugin_runtime-0.4.10a108.dist-info}/WHEEL
RENAMED
File without changes
|