How to pass on inputRoles & outputRoles in recipes.json?

cmjurs
cmjurs Registered Posts: 20 ✭✭✭✭

Hy All - Im trying to write a plugin and it doesn't need input and output datasets defined.

Turns out Dataiku wants at least the OutputRole

outputrole.png

So, I go ahead and leave that one in the json file:

   
//"inputRoles": [
//    {
//        "name": "input_dataset",
//        "arity": "UNARY",
//        "required": false,
//        "acceptsDataset": true
//    }
//],
"outputRoles": [
    {
        "name": "output_dataset",
        "arity": "UNARY",
        "required": false,
        "acceptsDataset": true
    }
],

But when I instantiate the plugin in a project, the window to select input and output datasets still pops up. And it also indicates they are required even though I set: "required": false

required datasets.png

Thanks for any help to sort this out

CJ


Operating system used: Ubuntu

Tagged:

Best Answer

Answers

Setup Info
    Tags
      Help me…