mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-06 17:57:49 +02:00
docs: update typing -> typing_extensions for TypedDict (#1871)
This commit is contained in:
@@ -110,7 +110,8 @@ Example `agent.py` file, which shows how to import from other modules you define
|
||||
|
||||
```python
|
||||
# my_agent/agent.py
|
||||
from typing import TypedDict, Literal
|
||||
from typing import Literal
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
from langgraph.graph import StateGraph, END, START
|
||||
from my_agent.utils.nodes import call_model, should_continue, tool_node # import nodes
|
||||
|
||||
Reference in New Issue
Block a user