Why Typed Dict for LangGraph State #143
Replies: 1 comment
-
One reason is that types in python's stdlib are less likely to see breaking changes. Example: Pydantic moved from v1 to v2 last summer but a large portion of our user base still uses v1, and there are some rough edges in supporting both |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just curious, does anyone know the reasoning for using a Typed Dict for the LangGraph State as opposed to something like a Pydantic BaseModel?
Beta Was this translation helpful? Give feedback.
All reactions