Commit Graph

11 Commits

Author SHA1 Message Date
Santiago Martinez
972ee56fde Fix fastapi tests 2023-08-09 01:43:36 +01:00
Anton De Meester
a7f8a27c20 Upgrade to Pydantic 2
Change imports
Undefined => PydanticUndefined
Update SQLModelMetaclass and SQLModel __init__ and __new__ functions
Update SQL Alchemy type inference
2023-08-06 08:01:04 +00:00
Mohamed Farahat
c634631ab1 migration to sqlalchemy 2.0 2023-08-06 07:57:41 +00:00
kurtportelli
a2cda8377f
📝 Update docs for models for updating, id should not be updatable (#335)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-28 01:43:42 +02:00
Yoann Mosteiro
ee576ab279
✏ Fix broken variable/typo in docs for Read Relationships, hero_spider_boy.id => hero_spider_boy.team_id (#106)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 22:06:56 +00:00
Saman Nezafat
d032c3cfea
✏ Fix typo variable in example about relationships and back_populates, always use hero instead of owner (#120)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 20:40:57 +00:00
Sebastián Ramírez
155c6178cd
Document indexes and make them opt-in (#205) 2021-12-28 11:48:03 +01:00
Sebastián Ramírez
95c02962ba
✏ Update decimal tutorial source for consistency (#188) 2021-12-13 11:37:59 +00:00
robcxyz
580f372059
Add support for Decimal fields from Pydantic and SQLAlchemy (#103)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2021-12-13 12:30:20 +01:00
Sebastián Ramírez
dc331f649c 📝 Add docs annotations for source examples 2021-08-24 14:51:14 +02:00
Sebastián Ramírez
e6308146f7 Add source examples for docs 2021-08-24 14:50:16 +02:00