Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
remove useless statements
  • Loading branch information
WrRan authored Dec 21, 2024
1 parent 2a7469e commit 395683d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libs/core/langchain_core/runnables/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 395683d

Please sign in to comment.