Represents a mapping of inputs to a workflow node.
KEY | TYPE | Description |
---|---|---|
variableType | WorkflowNodeInputType | The type of the input. |
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. |
sourceProp | None | None |
defaultValue | None | None |
name | str | The name of the input variable of the node function. |
isRequired | bool | Indicates whether the input is required. Defaults to True. |