From d14a6e2c0480ae718d2e77d08d1898c8912bacd4 Mon Sep 17 00:00:00 2001 From: Krishna Nadiger <34892464+Krnadiger@users.noreply.github.com> Date: Mon, 14 Jul 2025 20:19:13 +0530 Subject: [PATCH] =?UTF-8?q?fix(docs):=20Corrected=20Send=20import=20in=20e?= =?UTF-8?q?xample=20code=20of=20"Map-Reduce=20and=20the=20Sen=E2=80=A6=20(?= =?UTF-8?q?#5466)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix: Corrected Send import in example code of "Map-Reduce and the Send API" Fixes #5465 - Moved Send import from langgraph.graph to langgraph.types --- docs/docs/how-tos/graph-api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/how-tos/graph-api.md b/docs/docs/how-tos/graph-api.md index 6fa8bd241..b0f692738 100644 --- a/docs/docs/how-tos/graph-api.md +++ b/docs/docs/how-tos/graph-api.md @@ -1149,7 +1149,8 @@ Adding "C" to ['A'] LangGraph supports map-reduce and other advanced branching patterns using the Send API. Here is an example of how to use it: ```python -from langgraph.graph import StateGraph, START, END, Send +from langgraph.graph import StateGraph, START, END +from langgraph.types import Send from typing_extensions import TypedDict class OverallState(TypedDict):