Getting output tables from python setup

UserBird
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
matthias_funke
Dataiker Alumni
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

?
Labels (1)
A banner prompting to get Dataiku