mirror of https://github.com/langgenius/dify.git
refactor: rename VariableAssignerNodeData to VariableAggregatorNodeData (#28780)
This commit is contained in:
parent
5f2e0d6347
commit
dc9b3a7e03
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue