Replies: 1 comment
-
Another thing to consider is the update of |
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
-
Pydantic 2.0 will introduce many breaking changes, but could be up to 10x faster than current pydantic, because it will be backed by
pydantic-core
which is implemented in Rust.A year or two from now, especially if we run into performance issues due to lots of pydantic models and validation going on, it could be a good time to tackle the migration.
This would affect mostly the schema plugins, where some "hacks" and mixins could become obsolete, and others would need to be ported/adapted/re-invented. While it could be a few weeks of work, it does not look like an insurmountable problem and could lead to a massive performance boost.
In any case this should wait until pydantic 2 adoption spreads out to the pydantic-heavy libraries, documentations are updated and the dust settles.
Beta Was this translation helpful? Give feedback.
All reactions