mirror of
https://github.com/langgenius/dify.git
synced 2026-03-01 21:15:10 +00:00
again update the Node.__init__ interface
This commit is contained in:
@@ -206,7 +206,7 @@ class Node(Generic[NodeDataT]):
|
||||
def __init__(
|
||||
self,
|
||||
id: str,
|
||||
config: dict[str, Any], # NodeConfigDict
|
||||
config: dict[str, Any] | NodeConfigDict, # NodeConfigDict
|
||||
graph_init_params: GraphInitParams,
|
||||
graph_runtime_state: GraphRuntimeState,
|
||||
) -> None:
|
||||
|
||||
Reference in New Issue
Block a user