validate_flow_definition¶
Operation¶
validate_flow_definition
async
¶
validate_flow_definition(input: ValidateFlowDefinitionInput, plugins: list[Plugin] | None = None) -> ValidateFlowDefinitionOutput
Validates the definition of a flow.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ValidateFlowDefinitionInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
ValidateFlowDefinitionOutput
|
An instance of |
Input¶
ValidateFlowDefinitionInput
dataclass
¶
Dataclass for ValidateFlowDefinitionInput structure.
Attributes¶
definition
class-attribute
instance-attribute
¶
definition: FlowDefinition | None = field(repr=False, default=None)
The definition of a flow to validate.
Output¶
ValidateFlowDefinitionOutput
dataclass
¶
Dataclass for ValidateFlowDefinitionOutput structure.
Attributes¶
validations
instance-attribute
¶
validations: list[FlowValidation]
Contains an array of objects, each of which contains an error identified by validation.