6 Commits

Author SHA1 Message Date
bc67b582b6 📝 Update FastAPI tutorial docs to use the new model.sqlmodel_update() instead of old setattr() (#1117)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-04-27 15:02:41 +02:00
1eb40b1f33 📝 Update ModelRead to ModelPublic documentation and examples (#885)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-04-08 18:07:48 -05:00
fa2f178b8a Add support for Pydantic v2 (while keeping support for v1 if v2 is not available), including initial work by AntonDeMeester (#722)
Co-authored-by: Mohamed Farahat <farahats9@yahoo.com>
Co-authored-by: Stefan Borer <stefan.borer@gmail.com>
Co-authored-by: Peter Landry <peter.landry@gmail.com>
Co-authored-by: Anton De Meester <antondemeester+github@gmail.com>
2023-12-04 15:42:39 +01:00
d192142eb9 📝 Fix docs for Pydantic's fields using le (lte is invalid, use le ) (#207)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-10-23 16:28:51 +00:00
155c6178cd Document indexes and make them opt-in (#205) 2021-12-28 11:48:03 +01:00
e6308146f7 Add source examples for docs 2021-08-24 14:50:16 +02:00