mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 08:26:01 +08:00
chore: Simplify the unchanged overrided method in VariableAggregatorNode (#14175)
This commit is contained in:
parent
5669a18bd8
commit
f552667312
@ -1,6 +1,3 @@
|
|||||||
from collections.abc import Mapping, Sequence
|
|
||||||
from typing import Any
|
|
||||||
|
|
||||||
from core.workflow.entities.node_entities import NodeRunResult
|
from core.workflow.entities.node_entities import NodeRunResult
|
||||||
from core.workflow.nodes.base import BaseNode
|
from core.workflow.nodes.base import BaseNode
|
||||||
from core.workflow.nodes.enums import NodeType
|
from core.workflow.nodes.enums import NodeType
|
||||||
@ -36,16 +33,3 @@ class VariableAggregatorNode(BaseNode[VariableAssignerNodeData]):
|
|||||||
break
|
break
|
||||||
|
|
||||||
return NodeRunResult(status=WorkflowNodeExecutionStatus.SUCCEEDED, outputs=outputs, inputs=inputs)
|
return NodeRunResult(status=WorkflowNodeExecutionStatus.SUCCEEDED, outputs=outputs, inputs=inputs)
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def _extract_variable_selector_to_variable_mapping(
|
|
||||||
cls, *, graph_config: Mapping[str, Any], node_id: str, node_data: VariableAssignerNodeData
|
|
||||||
) -> Mapping[str, Sequence[str]]:
|
|
||||||
"""
|
|
||||||
Extract variable selector to variable mapping
|
|
||||||
:param graph_config: graph config
|
|
||||||
:param node_id: node id
|
|
||||||
:param node_data: node data
|
|
||||||
:return:
|
|
||||||
"""
|
|
||||||
return {}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user