Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello the community,
Right how I'm developing a dataiku connector. Here are some problems that I met:
Hi,
in DSS terminology, a connector would be a dataset type, so you're probably actually referring to a plugin recipe?
In a plugin recipe, you define roles in the recipe.json, which get used in the recipe creation modal to let the user chose or define datasets. Then you use `get_input_names_for_role(...)` to get dataset names from the role names you have defined in the json, and do `Dataset(the_dataset_name)` as usual to get a handle on the dataset. You're not supposed to use parameters of type DATASET(S).
Hi,
in DSS terminology, a connector would be a dataset type, so you're probably actually referring to a plugin recipe?
In a plugin recipe, you define roles in the recipe.json, which get used in the recipe creation modal to let the user chose or define datasets. Then you use `get_input_names_for_role(...)` to get dataset names from the role names you have defined in the json, and do `Dataset(the_dataset_name)` as usual to get a handle on the dataset. You're not supposed to use parameters of type DATASET(S).
Thank you so much for you reply😁
Hi,
I am facing exactly the same issue. There is no recipe.py in my plugin. Only connector.py. How to fix it ?
if you have a connector.py, that means you're in a "plugin dataset" component, not a "plugin recipe". To make a plugin recipe, you need to start from a regular recipe and convert it to a plugin recipe in its "actions" tab (cf. https://doc.dataiku.com/dss/latest/plugins/reference/recipes.html#component-recipes)