From 395683d23c285c37abdae3f9ef4b81ec8778e63a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wang=20Ran=20=28=E6=B1=AA=E7=84=B6=29?= Date: Sat, 21 Dec 2024 12:39:41 +0800 Subject: [PATCH] Update base.py remove useless statements --- libs/core/langchain_core/runnables/base.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/core/langchain_core/runnables/base.py b/libs/core/langchain_core/runnables/base.py index 3e43fb10a8e6b..893f393d8b174 100644 --- a/libs/core/langchain_core/runnables/base.py +++ b/libs/core/langchain_core/runnables/base.py @@ -534,8 +534,6 @@ def get_config_jsonschema( def get_graph(self, config: Optional[RunnableConfig] = None) -> Graph: """Return a graph representation of this Runnable.""" - from langchain_core.runnables.graph import Graph - graph = Graph() try: input_node = graph.add_node(self.get_input_schema(config))