Join us on July 16th as we explore real-world Reinforcement Learning Learn more

Getting output tables from python setup

Dataiker
Dataiker
Getting output tables from python setup
Hi, I am creating a plugin with a custom UI. I would like to obtain some data from the output dataset of my recipe in the python setup code's do() function (the one called by callPythonDo). However, it does not seem to provide information regarding output datasets. I also tried using get_output_names_for_role() from dataiku.customrecipe module. This approach causes an internal server error. Is there a way I could get data regarding output datasets in the python setup do()?
0 Kudos
1 Reply
Dataiker
Dataiker
I have not tried this myself, but if it's not too late, do you want to try to obtain the metadata of the recipe with the DSS API?

https://doc.dataiku.com/dss/latest/api/public/client-python/reference.html#dataikuapi.dss.recipe.DSSRecipe

I have found the API to be quite powerful for similar questions!
0 Kudos
Labels (1)