Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I know that we can dynamicaly influence the SELECT dropdown of a plugin param, but when I'm trying to use it in a OBJECT_LIST param, it doesn't work.
My recipe.json looks like that
Here the error I get in backend.log, where utils is my plugin name
Plugin component in utils doesn't declare python setup code
Is it normal ? Am I doing something wrong ?
PS: I'm using Dataiku 10.0.7 which should have fixed issue on OBJECT_LIST dynamic select.
Thanks for reading me
Operating system used: Windows 10
Thank you for raising this point. Indeed, there is an issue while reading field paramsPythonSetting at recipe level when an OBJECT_LIST is used.
A ticket has been opened in our backlog to fix this issue and it will be tackled as soon as possible.
In the meantime, you can define the parameter paramsPythonSetting at plugin level in plugin.json file.
Would this workaround suit your needs?
Have a nice day!
It seems to work fine with the paramsPythonSetup param in plugin.json! Thanks!
I'm just not sure of something, as it's the first time I'm trying to do this kind of thing and I'm not really finding any example anywhere,
Does the inputs parameter from do function in the file referenced by paramsPythonSetup should return all input dataset of the recipe? Because I can't find a way to get them and my inputs params is empty (even if I have several inputs dataset). 🙂
Thanks for your previous answer !
Have a nice day
Indeed, the input datasets should be present in the inputs parameter of the do function.
I added this information to the ticket and we will deal with it as soon as we can.
I will come back to you as soon as a fix is delivered.
Thanks again for reporting this to us and sorry for the inconvenience.
Have a nice day