Skip to content

Commit

Permalink
Docstring type (#1733)
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw authored Sep 16, 2024
1 parent 7934b67 commit 182dcea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langgraph/langgraph/graph/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 182dcea

Please sign in to comment.