mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-27 14:26:48 +00:00
core[patch]: remove redundant imports (#28861)
`Graph` has been imported at Line: 62
This commit is contained in:
@@ -534,8 +534,6 @@ class Runnable(Generic[Input, Output], ABC):
|
||||
|
||||
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))
|
||||
|
Reference in New Issue
Block a user