Use API to Remove a dataset from a recipe

NN
NN Neuron, Registered, Neuron 2022, Neuron 2023 Posts: 145 Neuron

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

Tagged:

Best Answer

  • HarizoR
    HarizoR Dataiker, Alpha Tester, Registered Posts: 138 Dataiker
    Answer ✓

    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

Answers

Setup Info
    Tags
      Help me…