From 7a5e3c1e795c8a8e6b1678bc2aa0ad9484894b93 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Fri, 7 Nov 2025 21:08:01 -0500 Subject: [PATCH] fix(docs): `PartialState` rendering in MkDocs (#6416) The carat chars were not rendering without code style formatting --- libs/langgraph/langgraph/graph/state.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/graph/state.py b/libs/langgraph/langgraph/graph/state.py index 7a3d11a32..0dbddab41 100644 --- a/libs/langgraph/langgraph/graph/state.py +++ b/libs/langgraph/langgraph/graph/state.py @@ -110,7 +110,8 @@ def _get_node_name(node: StateNode[Any, ContextT]) -> str: class StateGraph(Generic[StateT, ContextT, InputT, OutputT]): """A graph whose nodes communicate by reading and writing to a shared state. - The signature of each node is State -> Partial. + + The signature of each node is `State -> Partial`. Each state key can optionally be annotated with a reducer function that will be used to aggregate the values of that key received from multiple nodes.