fix(docs): Corrected Send import in example code of "Map-Reduce and the Sen… (#5466)

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
This commit is contained in:
Krishna Nadiger
2025-07-14 14:49:13 +00:00
committed by GitHub
parent 54dadadac4
commit d14a6e2c04
+2 -1
View File
@@ -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):