mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-21 02:17:12 +00:00
core[patch]: Fix typo in docstring (graphm -> graph) (#23910)
Changes has been as per the request Replaced graphm with graph
This commit is contained in:
parent
12c92b6c19
commit
3c752238c5
@ -246,7 +246,7 @@ class Graph:
|
|||||||
return node
|
return node
|
||||||
|
|
||||||
def remove_node(self, node: Node) -> None:
|
def remove_node(self, node: Node) -> None:
|
||||||
"""Remove a node from the graphm and all edges connected to it."""
|
"""Remove a node from the graph and all edges connected to it."""
|
||||||
self.nodes.pop(node.id)
|
self.nodes.pop(node.id)
|
||||||
self.edges = [
|
self.edges = [
|
||||||
edge
|
edge
|
||||||
|
Loading…
Reference in New Issue
Block a user