refactor: rename VariableAssignerNodeData to VariableAggregatorNodeData (#28780)

This commit is contained in:
-LAN- 2025-11-27 17:45:48 +08:00 committed by GitHub
parent 5f2e0d6347
commit dc9b3a7e03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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: