mirror of
https://github.com/langgenius/dify.git
synced 2026-03-25 08:18:02 +08:00
refactor: move workflow package to dify_graph (#32844)
This commit is contained in:
9
api/dify_graph/nodes/node_mapping.py
Normal file
9
api/dify_graph/nodes/node_mapping.py
Normal file
@ -0,0 +1,9 @@
|
||||
from collections.abc import Mapping
|
||||
|
||||
from dify_graph.enums import NodeType
|
||||
from dify_graph.nodes.base.node import Node
|
||||
|
||||
LATEST_VERSION = "latest"
|
||||
|
||||
# Mapping is built by Node.get_node_type_classes_mapping(), which imports and walks dify_graph.nodes
|
||||
NODE_TYPE_CLASSES_MAPPING: Mapping[NodeType, Mapping[str, type[Node]]] = Node.get_node_type_classes_mapping()
|
||||
Reference in New Issue
Block a user