honglei
|
ef56d08f2a
|
remove unused import in test_model_copy.py
|
2023-08-25 18:15:17 +08:00 |
|
honglei
|
f266da7b46
|
black/isort test_model_copy.py
|
2023-08-25 18:11:07 +08:00 |
|
50bytes.dev
|
f5fd8504b9
|
fix model_copy
|
2023-08-24 15:08:02 +03:00 |
|
honglei
|
8e2b363c77
|
annotation not null
|
2023-08-20 22:01:45 +08:00 |
|
honglei
|
499bc18857
|
add reason for skipif
|
2023-08-20 21:57:53 +08:00 |
|
honglei
|
7752780fda
|
fix isort
|
2023-08-20 21:54:01 +08:00 |
|
honglei
|
4e89361f93
|
add test for Class hierarchy
|
2023-08-20 21:50:30 +08:00 |
|
honglei
|
6e89ad374b
|
black/isort for test_nullable.py
|
2023-08-16 23:21:40 +08:00 |
|
honglei
|
045f9bcc8a
|
add test for pydantic.AnyURL
|
2023-08-16 23:18:55 +08:00 |
|
Santiago Martinez
|
972ee56fde
|
Fix fastapi tests
|
2023-08-09 01:43:36 +01:00 |
|
Anton De Meester
|
6955600120
|
Formatting
|
2023-08-06 08:01:04 +00: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
|
b9cf129188
|
fix some linting errors
|
2023-08-06 07:58:43 +00:00 |
|
Mohamed Farahat
|
c634631ab1
|
migration to sqlalchemy 2.0
|
2023-08-06 07:57:41 +00:00 |
|
Jonas Krüger Svensson
|
ae144e0a39
|
🐛 Fix auto detecting and setting nullable , allowing overrides in field (#423)
Co-authored-by: Benjamin Rapaport <br@getallstreet.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
|
2022-08-30 18:18:32 +02:00 |
|
Raphael Gibson
|
42b0e6eace
|
✨ Allow setting unique in Field() for a column (#83)
Co-authored-by: Raphael Gibson <raphael.araujo@estantemagica.com.br>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
|
2022-08-28 01:49:29 +02: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 |
|
byrman
|
d380736043
|
🐛 Fix handling validators for non-default values (#253)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
|
2022-08-27 23:10:23 +00:00 |
|
statt8900
|
680602b7eb
|
🐛 Fix fields marked as "set" in models (#117)
Co-authored-by: Michael Statt <michael.statt@modelyst.io>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
|
2022-08-27 22:59:09 +00:00 |
|
Chris White
|
eef0b7770b
|
🐛 Fix Enum handling in SQLAlchemy (#165)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
|
2022-08-28 00:48:44 +02:00 |
|
Evangelos Anagnostopoulos
|
9830ee0d89
|
🐛 Fix setting nullable property of Fields that don't accept None (#79)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
|
2022-08-28 00:18:57 +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 |
|
Jakob Jul Elben
|
dc4dc42ec5
|
✨ Raise an exception when using a Pydantic field type with no matching SQLAlchemy type (#18)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
|
2022-08-27 20:13:32 +00:00 |
|
Sebastián Ramírez
|
155c6178cd
|
✨ Document indexes and make them opt-in (#205)
|
2021-12-28 11:48:03 +01: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
|
e753f19297
|
🎨 Format tests, remove double imports
|
2021-08-24 16:01:57 +02:00 |
|
Sebastián Ramírez
|
eb8c496e10
|
🎨 Format tests, sort and remove unused imports
|
2021-08-24 15:41:03 +02:00 |
|
Sebastián Ramírez
|
79089f7a6c
|
✅ Add tests
|
2021-08-24 15:15:26 +02:00 |
|