| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you! 🙌
Yes, I think it's a good idea to just raise the error, if this has never worked with Pydantic v2, better to not have it around and just show the error.
Sorry, something went wrong.
…-unique_items-in-field
…-unique_items-in-field
| Back | FazBrowse Home | New Git URL |
const and unique_items parameters in Field are deprecated in Pydantic V2 (const, unique_items):
This PR reflects this change.
These parameters don't work (just ignored) on current SQLModel version. And they never worked with SQLMOdel + Pydantic V2.
So, not sure we need to mark this PR as breaking, but I did it it worked in some previous versions with Pydantic V1