docs: update typing -> typing_extensions for TypedDict (#1871)

This commit is contained in:
Vadym Barda
2024-09-26 18:06:45 -04:00
committed by GitHub
parent fe7e7b9121
commit 29a03309c9
30 changed files with 62 additions and 36 deletions
@@ -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