Represents a mapping of inputs to a workflow node.
KEY | TYPE | Description |
---|---|---|
sourceProp | None | None |
defaultValue | None | None |
variableType | WorkflowNodeInputType | The type of the input. |
name | str | The name of the input variable of the node function. |
variableSource | str | The name of the node this variable is sourced from. If the type is `WORKFLOW_VARIABLE`, the value given by the source node will be directly used. If the type is `USER_INPUT`, the value given by the source node will be used as the default initial value before the user edits it. Set to `None` if the type is `USER_INPUT` and the variable doesn't need a pre-filled initial value. |
isRequired | bool | Indicates whether the input is required. Defaults to True. |