Recipe and Dataset renaming

Solved!
Meirkhan
Level 3
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?

0 Kudos
1 Solution
AlexT
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-midd...

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

 

 

 

 

View solution in original post

0 Kudos
2 Replies
AlexT
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-midd...

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

 

 

 

 

0 Kudos
ktgross15
Dataiker

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

0 Kudos