Discover this year's submissions to the Dataiku Frontrunner Awards and give kudos to your favorite use cases and success stories!READ MORE

Use API to Remove a dataset from a recipe

Solved!
NN
Neuron
Neuron
Use API to Remove a dataset from a recipe

Hi Team,

Wanted to check if there is a way to remove a dataset from a recipe using the API.

I do see the options to add or replace a dataset , but couldnt find a way to remove.

https://doc.dataiku.com/dss/latest/python-api/recipes.html#dataikuapi.dss.recipe.DSSRecipeSettings

Any suggestions are welcome 🙂 

 

Regards

0 Kudos
1 Solution
HarizoR
Developer Advocate
Developer Advocate

Hi Nishant,

There is indeed no method to programmatically remove a Dataset from a given recipe. One workaround would be to duplicate the existing recipe's settings , change the input(s)/output(s) Dataset(s), delete the old recipe and create the new one.

Hope this helps!

 

Best,

Harizo

View solution in original post

0 Kudos
2 Replies
HarizoR
Developer Advocate
Developer Advocate

Hi Nishant,

There is indeed no method to programmatically remove a Dataset from a given recipe. One workaround would be to duplicate the existing recipe's settings , change the input(s)/output(s) Dataset(s), delete the old recipe and create the new one.

Hope this helps!

 

Best,

Harizo

0 Kudos
NN
Neuron
Neuron
Author

Thanks Harizo For confirming.

0 Kudos