-
Timezone trigger using Python API deployment
Hi, I'm using the Dataiku API to deploy parameters in my scenario. My question is about the timezone in the scenario trigger. In my custom python, I specify, timezone : "Europe/Paris" and the dataiku front took this parameter like we saw on the second screenshot. I want to launch my scenario at 1:00 in the timezone…
-
Update Developer Guide - DSS Messaging Channel Send()
Specifically looking at this page: https://developer.dataiku.com/latest/api-reference/python/messaging-channels.html#dataikuapi.dss.messaging_channel.DSSMailMessagingChannel.send The “append” method for a list only allows for one argument, whereas the script above is trying to provide 3. My team and I recommend adding in a…
-
Data Quality Plugin: multi-select dropdown of column names
Hi, I have some custom Data Quality checks added to Dataiku as part of a plugin. I want to have an input variable as a multi-select dropdown list of the columns in the schema. If I use "type": "DATASET_COLUMN", I get a dropdown list but no multi-select. If I use "type": "DATASET_COLUMNS", I get the ability to add mutliple…
-
How to check the last run time of a recipe with python api?
import re import dataiku import urllib3 import datetime urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) def get_project(client, project_key): return client.get_project(project_key) def get_datasets(client, project_key): project = get_project(client, project_key) return project.list_datasets() def…
-
How to retrieve the Evaluated Model name from a Model Evaluation Store via the Python API
I'm trying to pull the name of the evaluated model for a model evaluation store - e.g. the field "Evaluated model" under the category "Model" from this type of URL: https://dataikuprod.corp.{company}.org/projects/{projectkey}/modelevaluationstores/{meskey}/evaluations/{specificmekey}/report/tabular-summary I've been trying…
-
How to stack columns from one dataset
Hi, Here is a simplified schema of a basic dataset structure I need to reshape: firstname name vote col4 col5 col6 col7 col8 col9 etc.. ARTHAUD Nathalie 5 ARMAND Thierry 9 ARNAUD Bernard 6 etc.. ARTHAUD Nathalie 7 ARMAND Thierry 3 ARNAUD Bernard 8 etc.. The number of columns in this is variable but it will always be a…
-
I can't dynamically select a notebook in a DSS macro + Using Python API to access notebooks fails
I’m trying to create a project macro in DSS 14.2.2 that allows a user to select a notebook from a dropdown and then perform actions on it (e.g., add a code block). Problems encountered: The dropdown appears in the macro UI, but it never shows any options. (I want all projects' notebooks). Attempting to use the Python API…
-
Python script to visual recipes conversion
I have an existing Python script that needs to be converted into Dataiku visual recipes. Is there any supported or automated way in Dataiku to generate visual recipes from Python code, or does this need to be done manually?
-
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…
-
How to find un-used shared-in datasets of a project with python API ?
Thanks for your time at the beginning. I have a project and I want to know which datasets are shared-in from other projects (black icons) with Python API. However, those shared-in datasets could be seperated into 2 group: ① unused: just showing in in the zone for checking ② used: being used through recipe for analyzing I…