-
Python API for fleet manager
Hi all, I am trying to connect to the FMClientAWS using the documentation here : But I am not sure what to use as key_id and key_secret. I could not find anything related to this in the FM UI. Can anyone help me with how to get these two values for my FM? Thanks! Operating system used: linux Operating system used: linux
-
SqlExecutor2 does not handle Snowflake ARRAY data type * Bug?
Hello, I am using the SQLExecutor2 to read a temporary table and write to a Snowflake dataset in a Python recipe. Here is the column data type: {"type":"ARRAY","length":16777216,"byteLength":16777216,"nullable":true,"fixed":false} Here is my Python code: Expression type does not match column data type, expecting…
-
<class 'json.decoder.JSONDecodeError'> when evaluating a deployed Random Forest model
How to replicate: Using windows10, download the latest Dataiku DSS on-premise version (13.2.3). Create a New project, upload any dataset with a "target" column having binary value. Click the dataset - Lab - AutoML Prediction - Quick Prototype - Train a Random Forest model on "target", using default settings. Deploy the…
-
Bundle secret credentials to automation node
Hi, I've not done a release to the automation node before. My model uses APIs to connect to external data which rely on passing credentials. These credentials I have stored under my account within dataiku and using python I pass the secrets through securely. What I am not sure on is when I bundle this model, how will the…
-
Using sample.py after export model python
Hello, I’m trying to use the sample.py after unzipping the archive of a model I extracted. The model is a light gbm with a feature selection step. The version of the dss is 12.6.5 However the python script crash after the dummifier step with the error : Indexed_matrix.py Line 35 in _ remap _ key Remapped_key = (key[0],…
-
Governance API- Validation of Governance Approval for a specific bundle of a project
I am trying to a create a logic to validate the governance approval for a particular bundle of a project. Input params: PROJECT_KEY, BUNDLE_ID The python code should be able to validate the governance approval status and provide the result as approved, pending , rejected,etc. I am trying to use the…
-
How to share objects using the Dataiku API
Hi, It appears that the settings.add_exposed_object() method is undocumented. So documenting here few examples for the benefit of others: import dataiku client = dataiku.api_client() project = client.get_project(source_project_key) settings = project.get_settings() # Share Managed Folder…
-
HTTP status codes returned by DSS API node/service
Two questions: 1. Will an exception, raised during execution of API service code, always result in a response with a 500 HTTP status code? 2. Aside from that, errors can occur outside of API service code execution (e.g. service is unavailable). Is there an overview available of which situations map to which HTTP status…
-
Renaming a saved model using Dataiku Python API
How to rename a saved model using API?
-
Remapping Connection (under Activation Settings) in Bundle Management using Dataiku Python API
I am trying to remap/update the already existing Blob container connection name I have created a Bundle in Design Node and imported & activated in Auto Node. Both the nodes are pointing to separate Azure Blob Containers Unable to figure out if the connection settings have to be updated before the creation of the bundle OR…