Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on October 29, 2024 9:34AM
Likes: 0
Replies: 2
Let us say there is a python recipe with input as A and outputs B, C, D.
I want to build the datasets B, C and D from a scenario. So, should I specify datasets B, C and D in the build step in the scenario?
Will it run the recipe thrice to create each of the datasets? If so, is there a way to run the whole recipe from the scenario so that it updates the datasets by itself?
All the datasets will be built even if you specify only one. If the recipe runs it will build all 3 outputs, assuming there is no conditional code to selectively build outputs depending on parameters.
Hi @pnkj!
If the outputs are all defined in the same Python recipe, which from my understanding are, then, my guess is that by specifying only one of the B, C or D datasets in the scenario build step, all of these outputs datasets will be built. This build step will actually trigger the corresponding Python recipe (which builds all three datasets through code), so if it runs once, all the output datasets will be built.
Hope this helps! 😊
-Konstantina