omnata-plugin-runtime 0.4.10a108__tar.gz → 0.4.11a111__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/PKG-INFO +4 -4
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/pyproject.toml +4 -4
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/src/omnata_plugin_runtime/omnata_plugin.py +6 -0
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/LICENSE +0 -0
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/README.md +0 -0
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.4.10a108 → omnata_plugin_runtime-0.4.11a111}/src/omnata_plugin_runtime/rate_limiting.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: omnata-plugin-runtime
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.11a111
|
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
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
12
12
|
Requires-Dist: certifi (<=2023.11.17)
|
13
13
|
Requires-Dist: charset-normalizer (<=2.0.4)
|
14
14
|
Requires-Dist: idna (<=3.4)
|
15
|
-
Requires-Dist: jinja2 (>=3.1.2)
|
15
|
+
Requires-Dist: jinja2 (>=3.1.2,<=3.1.4)
|
16
16
|
Requires-Dist: markupsafe (<=2.1.3)
|
17
17
|
Requires-Dist: numpy (<=1.26.3)
|
18
18
|
Requires-Dist: packaging (<=23.1)
|
@@ -23,10 +23,10 @@ Requires-Dist: pyjwt (<=2.4.0)
|
|
23
23
|
Requires-Dist: pyopenssl (<=23.2.0)
|
24
24
|
Requires-Dist: pytz (<=2023.3.post1)
|
25
25
|
Requires-Dist: requests (>=2,<=2.31.0)
|
26
|
-
Requires-Dist: setuptools (
|
26
|
+
Requires-Dist: setuptools (<=69.5.1)
|
27
27
|
Requires-Dist: snowflake-snowpark-python (>=1,<2)
|
28
28
|
Requires-Dist: tenacity (>=8,<=8.2.2)
|
29
|
-
Requires-Dist: tomlkit (
|
29
|
+
Requires-Dist: tomlkit (<=0.11.1)
|
30
30
|
Requires-Dist: urllib3 (<=2.1.0)
|
31
31
|
Requires-Dist: wheel (<=0.41.2)
|
32
32
|
Description-Content-Type: text/markdown
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "omnata-plugin-runtime"
|
3
|
-
version = "0.4.
|
3
|
+
version = "0.4.11-a111"
|
4
4
|
description = "Classes and common runtime components for building and running Omnata Plugins"
|
5
5
|
authors = ["James Weakley <james.weakley@omnata.com>"]
|
6
6
|
readme = "README.md"
|
@@ -13,7 +13,7 @@ snowflake-snowpark-python = "^1"
|
|
13
13
|
certifi = "<=2023.11.17" # latest version available on Snowflake Anaconda
|
14
14
|
charset-normalizer = "<=2.0.4" # latest version available on Snowflake Anaconda
|
15
15
|
idna = "<=3.4" # latest version available on Snowflake Anaconda
|
16
|
-
jinja2 = ">=3.1.2" # 3.1.
|
16
|
+
jinja2 = ">=3.1.2,<=3.1.4" # 3.1.4 was latest version available on Snowflake Anaconda
|
17
17
|
markupsafe = "<=2.1.3" # latest version available on Snowflake Anaconda
|
18
18
|
numpy = "<=1.26.3" # latest version available on Snowflake Anaconda
|
19
19
|
packaging = "<=23.1" # latest version available on Snowflake Anaconda
|
@@ -24,8 +24,8 @@ pyjwt = "<=2.4.0" # latest version available on Snowflake Anaconda
|
|
24
24
|
pyopenssl = "<=23.2.0" # latest version available on Snowflake Anaconda
|
25
25
|
pytz = "<=2023.3.post1" # latest version available on Snowflake Anaconda
|
26
26
|
requests = "^2, <=2.31.0" # latest version available on Snowflake Anaconda
|
27
|
-
setuptools = "
|
28
|
-
tomlkit = "
|
27
|
+
setuptools = "<=69.5.1" # 69.5.1 was latest version available on Snowflake Anaconda
|
28
|
+
tomlkit = "<=0.11.1" # 0.11.1 was latest version available on Snowflake Anaconda
|
29
29
|
tenacity = "^8, <=8.2.2" # latest version available on Snowflake Anaconda
|
30
30
|
urllib3 = "<=2.1.0" # latest version available on Snowflake Anaconda
|
31
31
|
wheel = "<=0.41.2" # latest version available on Snowflake Anaconda
|
@@ -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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|