-
-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Add support for Pydantic v2 (while keeping support for v1 if v2 is not available), including initial work by AntonDeMeester #722
Commits on Nov 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d0ae3e8 - Browse repository at this point
Copy the full SHA d0ae3e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a27655 - Browse repository at this point
Copy the full SHA 8a27655View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2b3c14 - Browse repository at this point
Copy the full SHA a2b3c14View commit details -
Update sqlmodel/sql/expression.py
Co-authored-by: Stefan Borer <stefan.borer@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4760dbd - Browse repository at this point
Copy the full SHA 4760dbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad76a88 - Browse repository at this point
Copy the full SHA ad76a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96e44e5 - Browse repository at this point
Copy the full SHA 96e44e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e72750 - Browse repository at this point
Copy the full SHA 9e72750View commit details -
Configuration menu - View commit details
-
Copy full SHA for b19a709 - Browse repository at this point
Copy the full SHA b19a709View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae369ed - Browse repository at this point
Copy the full SHA ae369edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ff42db - Browse repository at this point
Copy the full SHA 2ff42dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6bd94f - Browse repository at this point
Copy the full SHA b6bd94fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dbce4d - Browse repository at this point
Copy the full SHA 1dbce4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2d310e - Browse repository at this point
Copy the full SHA c2d310eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05a1352 - Browse repository at this point
Copy the full SHA 05a1352View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd00a2b - Browse repository at this point
Copy the full SHA bd00a2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c65f018 - Browse repository at this point
Copy the full SHA c65f018View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e29e00 - Browse repository at this point
Copy the full SHA 4e29e00View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd85d02 - Browse repository at this point
Copy the full SHA fd85d02View commit details -
Change imports Undefined => PydanticUndefined Update SQLModelMetaclass and SQLModel __init__ and __new__ functions Update SQL Alchemy type inference
Configuration menu - View commit details
-
Copy full SHA for d556059 - Browse repository at this point
Copy the full SHA d556059View commit details -
Configuration menu - View commit details
-
Copy full SHA for e92a52e - Browse repository at this point
Copy the full SHA e92a52eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61d5d8d - Browse repository at this point
Copy the full SHA 61d5d8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb494b7 - Browse repository at this point
Copy the full SHA cb494b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f590548 - Browse repository at this point
Copy the full SHA f590548View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ecbc38 - Browse repository at this point
Copy the full SHA 7ecbc38View commit details
Commits on Nov 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c21ff69 - Browse repository at this point
Copy the full SHA c21ff69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 254fb13 - Browse repository at this point
Copy the full SHA 254fb13View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab07514 - Browse repository at this point
Copy the full SHA ab07514View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a4161a - Browse repository at this point
Copy the full SHA 4a4161aView commit details
Commits on Nov 16, 2023
-
Only need to fix OPEN API things I think
Configuration menu - View commit details
-
Copy full SHA for e2d4d1f - Browse repository at this point
Copy the full SHA e2d4d1fView commit details
Commits on Nov 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 725c6ac - Browse repository at this point
Copy the full SHA 725c6acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c358b2 - Browse repository at this point
Copy the full SHA 4c358b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0029193 - Browse repository at this point
Copy the full SHA 0029193View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a13945 - Browse repository at this point
Copy the full SHA 8a13945View commit details -
⏪️ Revert changing model order in examples to account for previous la…
…ck of support for forward references in SQLAlchemy (from a previous PR this was based of)
Configuration menu - View commit details
-
Copy full SHA for bebd5d8 - Browse repository at this point
Copy the full SHA bebd5d8View commit details -
⏪️ Revert example changing the order of models to account for the lac…
…k of support for forward references in SQLAlchemy in a previous PR this was based of
Configuration menu - View commit details
-
Copy full SHA for d229a87 - Browse repository at this point
Copy the full SHA d229a87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29e372b - Browse repository at this point
Copy the full SHA 29e372bView commit details
Commits on Nov 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 665902c - Browse repository at this point
Copy the full SHA 665902cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5460f9 - Browse repository at this point
Copy the full SHA b5460f9View commit details -
🐛 Fix type of model.__fields__ in Pydantic v1 and add compatibility c…
…lass for Pydantic v2
Configuration menu - View commit details
-
Copy full SHA for d9bafa3 - Browse repository at this point
Copy the full SHA d9bafa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e29b22 - Browse repository at this point
Copy the full SHA 6e29b22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 835cbc8 - Browse repository at this point
Copy the full SHA 835cbc8View commit details
Commits on Nov 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dbaef53 - Browse repository at this point
Copy the full SHA dbaef53View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcbc084 - Browse repository at this point
Copy the full SHA dcbc084View commit details -
Configuration menu - View commit details
-
Copy full SHA for c836ec1 - Browse repository at this point
Copy the full SHA c836ec1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c6b7a9 - Browse repository at this point
Copy the full SHA 3c6b7a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7390e1 - Browse repository at this point
Copy the full SHA c7390e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e45276 - Browse repository at this point
Copy the full SHA 3e45276View commit details -
Configuration menu - View commit details
-
Copy full SHA for eadf5bc - Browse repository at this point
Copy the full SHA eadf5bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d35989a - Browse repository at this point
Copy the full SHA d35989aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef8bbc6 - Browse repository at this point
Copy the full SHA ef8bbc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ba2e59 - Browse repository at this point
Copy the full SHA 9ba2e59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63a55a8 - Browse repository at this point
Copy the full SHA 63a55a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f754390 - Browse repository at this point
Copy the full SHA f754390View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a3fea8 - Browse repository at this point
Copy the full SHA 4a3fea8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b763668 - Browse repository at this point
Copy the full SHA b763668View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb11285 - Browse repository at this point
Copy the full SHA fb11285View commit details -
♻️ Refactor get_relationship_to to support more than one level of typ…
…e unwrapping/origins
Configuration menu - View commit details
-
Copy full SHA for aeabcf2 - Browse repository at this point
Copy the full SHA aeabcf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6de622 - Browse repository at this point
Copy the full SHA d6de622View commit details
Commits on Nov 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1ee0482 - Browse repository at this point
Copy the full SHA 1ee0482View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb02fb2 - Browse repository at this point
Copy the full SHA cb02fb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0460f05 - Browse repository at this point
Copy the full SHA 0460f05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0187c36 - Browse repository at this point
Copy the full SHA 0187c36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9249021 - Browse repository at this point
Copy the full SHA 9249021View commit details
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d400fd7 - Browse repository at this point
Copy the full SHA d400fd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bb29aa - Browse repository at this point
Copy the full SHA 9bb29aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for edb051e - Browse repository at this point
Copy the full SHA edb051eView commit details
Commits on Dec 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 65d6b3e - Browse repository at this point
Copy the full SHA 65d6b3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f879c77 - Browse repository at this point
Copy the full SHA f879c77View commit details -
Configuration menu - View commit details
-
Copy full SHA for baf8f47 - Browse repository at this point
Copy the full SHA baf8f47View commit details -
✅ Update tests, revert broken JSON Schema as a workaround for new mod…
…els without defaults
Configuration menu - View commit details
-
Copy full SHA for 8c603f1 - Browse repository at this point
Copy the full SHA 8c603f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f388f1 - Browse repository at this point
Copy the full SHA 9f388f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d763da - Browse repository at this point
Copy the full SHA 8d763daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 553a3c5 - Browse repository at this point
Copy the full SHA 553a3c5View commit details -
♻️ Refactor main and compat, restructure, simplify, and fix implement…
…ation, supporting table models without defaults, SQLAlchemy __init__ overrides
Configuration menu - View commit details
-
Copy full SHA for f0d088c - Browse repository at this point
Copy the full SHA f0d088cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2806b38 - Browse repository at this point
Copy the full SHA 2806b38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08bd1ef - Browse repository at this point
Copy the full SHA 08bd1efView commit details -
Configuration menu - View commit details
-
Copy full SHA for e07ada1 - Browse repository at this point
Copy the full SHA e07ada1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 349a374 - Browse repository at this point
Copy the full SHA 349a374View commit details -
Configuration menu - View commit details
-
Copy full SHA for 577ebb9 - Browse repository at this point
Copy the full SHA 577ebb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f39bd8f - Browse repository at this point
Copy the full SHA f39bd8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c38fb0 - Browse repository at this point
Copy the full SHA 4c38fb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eb99a3 - Browse repository at this point
Copy the full SHA 5eb99a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7f27aa - Browse repository at this point
Copy the full SHA b7f27aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 224e4ef - Browse repository at this point
Copy the full SHA 224e4efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3070a1e - Browse repository at this point
Copy the full SHA 3070a1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ac7804 - Browse repository at this point
Copy the full SHA 8ac7804View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad5eb08 - Browse repository at this point
Copy the full SHA ad5eb08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e74c50 - Browse repository at this point
Copy the full SHA 0e74c50View commit details -
🐛 Fix implementation of sqlmodel_validate for Pydantic v1 with deprec…
…ated parse_obj with a dict
Configuration menu - View commit details
-
Copy full SHA for cac622a - Browse repository at this point
Copy the full SHA cac622aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d883f5 - Browse repository at this point
Copy the full SHA 9d883f5View commit details
Commits on Dec 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f28109f - Browse repository at this point
Copy the full SHA f28109fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cac349c - Browse repository at this point
Copy the full SHA cac349cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d5e62b - Browse repository at this point
Copy the full SHA 8d5e62bView commit details -
✨ Add method model_dump for compatibility with Pydantic v1 while keep…
…ing v2 method names
Configuration menu - View commit details
-
Copy full SHA for d03c233 - Browse repository at this point
Copy the full SHA d03c233View commit details -
✨ Add override for .dict() only to deprecate it and help people migra…
…te to model_dump, even (if) before they migrate to Pydantic v2
Configuration menu - View commit details
-
Copy full SHA for be49ad5 - Browse repository at this point
Copy the full SHA be49ad5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10e4356 - Browse repository at this point
Copy the full SHA 10e4356View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30dbd40 - Browse repository at this point
Copy the full SHA 30dbd40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47d473d - Browse repository at this point
Copy the full SHA 47d473dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fca1101 - Browse repository at this point
Copy the full SHA fca1101View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1ab6a6 - Browse repository at this point
Copy the full SHA f1ab6a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f68e93e - Browse repository at this point
Copy the full SHA f68e93eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b2f955 - Browse repository at this point
Copy the full SHA 3b2f955View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f4d502 - Browse repository at this point
Copy the full SHA 5f4d502View commit details -
Configuration menu - View commit details
-
Copy full SHA for b995766 - Browse repository at this point
Copy the full SHA b995766View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3fcaf0 - Browse repository at this point
Copy the full SHA b3fcaf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ab2fdc - Browse repository at this point
Copy the full SHA 7ab2fdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43fba36 - Browse repository at this point
Copy the full SHA 43fba36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 115d439 - Browse repository at this point
Copy the full SHA 115d439View commit details -
Configuration menu - View commit details
-
Copy full SHA for f121b00 - Browse repository at this point
Copy the full SHA f121b00View commit details