mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-13 21:27:52 +02:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user