Comments (13)
Hey, I started working on the support last week.
Quite a lot of model logic ends up changed but I'm almost there. I'll publish the first PR as soon as it starts passing the first tests so we can iterate on it!
Thanks for the support @Kludex !
from odmantic.
Is this close to being released?
I think so, at least a first beta. However, this will be a breaking change, and supporting both versions of Pydantic will be extremely painful so after this only v2 will be supported.
Also, I got some ideas to improve the performance with Pydantic v2, I will try to share some PoCs soon π¦ π
from odmantic.
Same here, this is a dealbreaker for us
from odmantic.
Is this close to being released?
from odmantic.
Let us know if help is needed. π
from odmantic.
Thanks for working on this @art049 is there an update? I can test this with my repo
from odmantic.
I spend two days modelling my database (writing model classes) just to find out that it is not compatible with fastapi because of PyDantic 2 π₯²
from odmantic.
from odmantic.
Hi,
We have a dependency on pyDantic v2, We like the library but this issue is holding us back.
from odmantic.
@art049 Is there any plan of getting a beta release on PyPI? We have a project that's held up on upgrading to Pydantic 2, as well, and if you were to release a beta, we'd be able to get you some feedback.
from odmantic.
Hi @art049. Thanks a lot for working on this. Any idea if a PR or a release will be ready before October?
Let me know if I can help.
from odmantic.
Related Issues (20)
- Cannot support motor time zone problem HOT 2
- Can't change a field in a copied embedded model that's part of a collection #228
- When the time is inserted into the database HOT 2
- Getting OperationFailure error when trying to find using the $near operator HOT 1
- Abstract models HOT 1
- is_type_mutable returns true for Literal types
- `database` argument for `Engine`s defaulted to `"test"` is unexpected
- Union of embedded models regression
- Exclude a field from serialization and saving into database
- Embedded Model Exclude None Not Functioning HOT 1
- Support native validator
- Using the union operator in model breaks HOT 1
- FastAPI schema can not show the fields in parent odmantic.Model class HOT 2
- Odmantic model names in openapi.json from FastAPI have __pydantic_model__ suffix
- ζδΉζεΊ HOT 1
- Pydantic URLs have stopped working
- Support other document store
- Using deprecated `pydantic.datetime_parse:parse_datetime` in Pydantic HOT 1
- Can't start dev container: multi-python is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odmantic.