omnata-plugin-runtime 0.4.10a108__py3-none-any.whl → 0.4.10a109__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -751,6 +751,12 @@ class OutboundSyncRequest(SyncRequest):
751
751
  data_frame["TRANSFORMED_RECORD"] = data_frame[
752
752
  "TRANSFORMED_RECORD"
753
753
  ].apply(json.loads)
754
+ # we also perform json.loads on TRANSFORMED_RECORD_PREVIOUS, but only if it's not null
755
+ data_frame["TRANSFORMED_RECORD_PREVIOUS"] = data_frame[
756
+ "TRANSFORMED_RECORD_PREVIOUS"
757
+ ].apply(
758
+ lambda x: json.loads(x) if x is not None else None
759
+ )
754
760
  except TypeError as type_error:
755
761
  logger.error(
756
762
  "Error parsing transformed record output as JSON", exc_info=True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.4.10a108
3
+ Version: 0.4.10a109
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=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=Q2qdIz370MeIp5J6nekWHe2DzdtqMm6nchJoKbHH6aA,110658
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=SKdtUOsJWVG-WtartrdSxOJUPfZrnmp0sf0WQduj7gk,110997
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.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,,
9
+ omnata_plugin_runtime-0.4.10a109.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.4.10a109.dist-info/METADATA,sha256=WizZ_OtGQXL-ThVz6B7lG0tJFV5SSWBCBXZXoKZs1_o,1643
11
+ omnata_plugin_runtime-0.4.10a109.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.4.10a109.dist-info/RECORD,,