Creating a dataset with a plugin
![BorjaVelasco](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar21.png)
Hi all,
I wonder if I can create a dataset with a plugin. My plugin is basically a python receipe, that can be selected from an existing dataset. The behavior I am looking for is that whenever a user is in a dataset and selects the plugin, two output datasets are automatically created, without requiring the creation from the user via the Input/Output tab.
Is this possible? If so, how can I do it?
Thank you!
Borja
Best Answer
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,211 Dataiker
Hi @BorjaVelasco
,This is not possible as the recipe should have at least one output dataset. When using a plugin recipe.
Otherwise, you will encounter an error like : "Component descriptor is invalid [pythondev] Plugin recipes require outputRoles"
At a minimum, you would have to create a dummy output folder and create the remaining datasets outside of user input.
Answers
-
Hi @AlexT
Understood. Thank you for your answer!