Very minor typo in docstring of State -> add_node (#3461)

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 😸
This commit is contained in:
Yan Zhao
2025-02-18 13:05:26 -05:00
committed by GitHub
parent a008725c06
commit cb9989030e
+1 -1
View File
@@ -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)