Represents a mapping of inputs to a workflow node.
KEY | TYPE | Description |
---|---|---|
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. |
constantValue | str | The constant value of this input if variable type is CONSTANT. Only applicable for template nodes. |
isRequired | bool | Indicates whether the input is required. Defaults to True. |
sourceProp | None | None |
name | str | The name of the input variable of the node function. |
description | str | The description of this input. |
variableType | Union[WorkflowNodeInputType, str] | The type of the input. If the type is `IGNORE`, the input will be ignored. |