From d6ef781540985c3fd258b65b271acda7fa22a2fd Mon Sep 17 00:00:00 2001 From: Alex Bourret Date: Mon, 16 Jun 2025 10:33:59 +0200 Subject: [PATCH 1/4] sc-249723 stop pandas from inferring data types --- custom-recipes/api-connect/recipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom-recipes/api-connect/recipe.py b/custom-recipes/api-connect/recipe.py index c2aed34..54fd9ad 100644 --- a/custom-recipes/api-connect/recipe.py +++ b/custom-recipes/api-connect/recipe.py @@ -52,7 +52,7 @@ def get_partitioning_keys(id_list, dku_flow_variables): input_parameters_dataset = dataiku.Dataset(input_A_names[0]) partitioning_keys = get_partitioning_keys(input_parameters_dataset, dku_flow_variables) custom_key_values.update(partitioning_keys) -input_parameters_dataframe = input_parameters_dataset.get_dataframe() +input_parameters_dataframe = input_parameters_dataset.get_dataframe(infer_with_pandas=False) recipe_session = RestApiRecipeSession( custom_key_values, From c6103f705a9b7407b3ed8dabdd0d3988e54e44f4 Mon Sep 17 00:00:00 2001 From: Alex Bourret Date: Mon, 16 Jun 2025 10:44:06 +0200 Subject: [PATCH 2/4] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ba9c64..c418fc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Fix xml decoding for content type application/rss+xml - Let use the *Other credentials* stored in the user's profile +- Prevent recipe from inferring its input data types ## [Version 1.2.3](https://github.com/dataiku/dss-plugin-api-connect/releases/tag/v1.2.3) - Feature and bugfix release - 2024-11-25 From 9d1ffab2cd8b0e7309f3ad2301f18d5356cb8304 Mon Sep 17 00:00:00 2001 From: Alex Bourret Date: Mon, 16 Jun 2025 10:44:13 +0200 Subject: [PATCH 3/4] set beta 2 --- python-lib/dku_constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-lib/dku_constants.py b/python-lib/dku_constants.py index dacd8ba..8a75910 100644 --- a/python-lib/dku_constants.py +++ b/python-lib/dku_constants.py @@ -2,6 +2,6 @@ class DKUConstants(object): API_RESPONSE_KEY = "api_response" FORBIDDEN_KEYS = ["token", "password", "api_key_value", "secure_token"] FORM_DATA_BODY_FORMAT = "FORM_DATA" - PLUGIN_VERSION = "1.2.4-beta.1" + PLUGIN_VERSION = "1.2.4-beta.2" RAW_BODY_FORMAT = "RAW" REPONSE_ERROR_KEY = "dku_error" From d33e0e8583a2acaf23bd5d72e84e183c430ce636 Mon Sep 17 00:00:00 2001 From: Alex Bourret Date: Mon, 16 Jun 2025 10:48:43 +0200 Subject: [PATCH 4/4] changelog update --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c418fc3..35904db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [Version 1.2.4](https://github.com/dataiku/dss-plugin-api-connect/releases/tag/v1.2.4) - Feature release - 2025-02-18 +## [Version 1.2.4](https://github.com/dataiku/dss-plugin-api-connect/releases/tag/v1.2.4) - Feature and bugfix release - 2025-02-18 - Fix xml decoding for content type application/rss+xml - Let use the *Other credentials* stored in the user's profile