From cb9989030e57c2248f04044fb27d84e208beabfb Mon Sep 17 00:00:00 2001 From: Yan Zhao Date: Tue, 18 Feb 2025 10:05:26 -0800 Subject: [PATCH] Very minor typo in docstring of State -> add_node (#3461) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, I am a student and was going through the tutorial. While trying to understand the different components by reading the docstring found this super minor typo 😄 . I hope to contribute more meaningful changes in future 😸 --- libs/langgraph/langgraph/graph/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/graph/state.py b/libs/langgraph/langgraph/graph/state.py index ae8941618..872c64d95 100644 --- a/libs/langgraph/langgraph/graph/state.py +++ b/libs/langgraph/langgraph/graph/state.py @@ -286,7 +286,7 @@ class StateGraph(Graph): Will take the name of the function/runnable as the node name. Args: - node (Union[str, RunnableLike)]: The function or runnable this node will run. + node (Union[str, RunnableLike]): The function or runnable this node will run. action (Optional[RunnableLike]): The action associated with the node. (default: None) metadata (Optional[dict[str, Any]]): The metadata associated with the node. (default: None) input (Optional[Type[Any]]): The input schema for the node. (default: the graph's input schema)