Docstring type (#1733)

This commit is contained in:
William FH
2024-09-16 15:49:49 -07:00
committed by GitHub
parent 7934b67afa
commit 182dcea526
+1 -1
View File
@@ -91,7 +91,7 @@ class StateGraph(Graph):
>>> from langgraph.checkpoint.memory import MemorySaver
>>> from langgraph.graph import StateGraph
>>>
>>> def reducer(a: list, b: int | None) -> int:
>>> def reducer(a: list, b: int | None) -> list:
... if b is not None:
... return a + [b]
... return a