mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 07:25:54 +08:00
optimize
This commit is contained in:
parent
216910a4a1
commit
aaa98c76d5
@ -8,7 +8,7 @@ from core.app.entities.app_invoke_entities import InvokeFrom
|
||||
from core.workflow.entities.node_entities import NodeRunResult
|
||||
from core.workflow.entities.variable_pool import VariablePool
|
||||
from core.workflow.graph import Graph, GraphNode
|
||||
from core.workflow.nodes.base_node import BaseNode, UserFrom
|
||||
from core.workflow.nodes.base_node import UserFrom
|
||||
from models.workflow import WorkflowNodeExecutionStatus, WorkflowType
|
||||
|
||||
|
||||
@ -26,9 +26,6 @@ class RuntimeNode(BaseModel):
|
||||
graph_node: GraphNode
|
||||
"""graph node"""
|
||||
|
||||
node_instance: BaseNode
|
||||
"""node instance"""
|
||||
|
||||
node_run_result: Optional[NodeRunResult] = None
|
||||
"""node run result"""
|
||||
|
||||
|
@ -14,9 +14,6 @@ class GraphNode(BaseModel):
|
||||
children_node_ids: list[str] = []
|
||||
"""children node ids"""
|
||||
|
||||
source_handle: Optional[str] = None
|
||||
"""current node source handle from the previous node result"""
|
||||
|
||||
run_condition_callback: Optional[Callable] = None
|
||||
"""condition function check if the node can be executed"""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user