Skip to content

Commit a797bd3

Browse files
authored
Merge pull request #54 from dataiku/bug/sc-249723-recipe-forces-type
sc-249723 stop pandas from inferring data types
2 parents bd5b3bc + d33e0e8 commit a797bd3

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Changelog
22

3-
## [Version 1.2.4](https://github.com/dataiku/dss-plugin-api-connect/releases/tag/v1.2.4) - Feature release - 2025-02-18
3+
## [Version 1.2.4](https://github.com/dataiku/dss-plugin-api-connect/releases/tag/v1.2.4) - Feature and bugfix release - 2025-02-18
44

55
- Fix xml decoding for content type application/rss+xml
66
- Let use the *Other credentials* stored in the user's profile
7+
- Prevent recipe from inferring its input data types
78

89
## [Version 1.2.3](https://github.com/dataiku/dss-plugin-api-connect/releases/tag/v1.2.3) - Feature and bugfix release - 2024-11-25
910

custom-recipes/api-connect/recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get_partitioning_keys(id_list, dku_flow_variables):
5252
input_parameters_dataset = dataiku.Dataset(input_A_names[0])
5353
partitioning_keys = get_partitioning_keys(input_parameters_dataset, dku_flow_variables)
5454
custom_key_values.update(partitioning_keys)
55-
input_parameters_dataframe = input_parameters_dataset.get_dataframe()
55+
input_parameters_dataframe = input_parameters_dataset.get_dataframe(infer_with_pandas=False)
5656

5757
recipe_session = RestApiRecipeSession(
5858
custom_key_values,

python-lib/dku_constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ class DKUConstants(object):
22
API_RESPONSE_KEY = "api_response"
33
FORBIDDEN_KEYS = ["token", "password", "api_key_value", "secure_token"]
44
FORM_DATA_BODY_FORMAT = "FORM_DATA"
5-
PLUGIN_VERSION = "1.2.4-beta.1"
5+
PLUGIN_VERSION = "1.2.4-beta.2"
66
RAW_BODY_FORMAT = "RAW"
77
REPONSE_ERROR_KEY = "dku_error"

0 commit comments

Comments
 (0)