Recipe and Dataset renaming
Hello Dataikers,
I want to change recipe and datasets names through python API.
So far, I failed to find such info in API docs.
Is it possible to do so?
Best Answer
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi,
This is not currently possible via the public APIs. You can rename recipes and datasets in UI which will use an internal API to perform the renaming.
We do advise against renaming datasets where possible due to unintended consequences see : https://community.dataiku.com/t5/General-Discussion/Changing-names-of-datasets-somewhere-in-the-middle-of-a-flow/m-p/15204
You can set a name for the recipe or dataset via the API at creation:
https://doc.dataiku.com/dss/latest/python-api/flow.html
Answers
-
FYI, as of version 11.2, dataset renaming is now a safe, supported action: https://doc.dataiku.com/dss/latest/release_notes/11.html#rename-datasets