Join us at the Everyday AI Conference in London, New York & Bengaluru! REGISTER NOW

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
Dataiker
Dataiker

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
Dataiker
Dataiker

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