mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-27 12:04:58 +02:00
Docstring type (#1733)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user