diff --git a/api/core/workflow/nodes/variable_aggregator/entities.py b/api/core/workflow/nodes/variable_aggregator/entities.py index 13dbc5dbe6..aab17aad22 100644 --- a/api/core/workflow/nodes/variable_aggregator/entities.py +++ b/api/core/workflow/nodes/variable_aggregator/entities.py @@ -23,12 +23,11 @@ class AdvancedSettings(BaseModel): groups: list[Group] -class VariableAssignerNodeData(BaseNodeData): +class VariableAggregatorNodeData(BaseNodeData): """ - Variable Assigner Node Data. + Variable Aggregator Node Data. """ - type: str = "variable-assigner" output_type: str variables: list[list[str]] advanced_settings: AdvancedSettings | None = None diff --git a/api/core/workflow/nodes/variable_aggregator/variable_aggregator_node.py b/api/core/workflow/nodes/variable_aggregator/variable_aggregator_node.py index 679e001e79..707e0af56e 100644 --- a/api/core/workflow/nodes/variable_aggregator/variable_aggregator_node.py +++ b/api/core/workflow/nodes/variable_aggregator/variable_aggregator_node.py @@ -4,13 +4,13 @@ from core.variables.segments import Segment from core.workflow.enums import NodeType, WorkflowNodeExecutionStatus from core.workflow.node_events import NodeRunResult from core.workflow.nodes.base.node import Node -from core.workflow.nodes.variable_aggregator.entities import VariableAssignerNodeData +from core.workflow.nodes.variable_aggregator.entities import VariableAggregatorNodeData -class VariableAggregatorNode(Node[VariableAssignerNodeData]): +class VariableAggregatorNode(Node[VariableAggregatorNodeData]): node_type = NodeType.VARIABLE_AGGREGATOR - _node_data: VariableAssignerNodeData + _node_data: VariableAggregatorNodeData @classmethod def version(cls) -> str: