Commit Graph

485 Commits

Author SHA1 Message Date
95adc7146a add sql_nullable param 2021-09-08 09:22:29 +02:00
cd87303b5c add multi column non unique columns 2021-09-06 16:47:37 +02:00
46500eba39 fix for #327 and #328 2021-09-01 11:50:04 +02:00
aedebe0403 add support for sqlalchemy >=1.4 2021-08-30 09:47:38 +02:00
b70a6691b0 bump version 2021-08-27 16:12:49 +02:00
9bb22d2ea4 add overwriting pydantic types #311 2021-08-27 16:02:20 +02:00
521b9e6c12 fix for obsolete pydantic parameters 2021-08-06 16:03:29 +02:00
25adb8378e fix for #295 2021-08-06 11:59:16 +02:00
7baaee63ce add:SmallInteger() 2021-08-06 11:43:51 +08:00
6ffc318fd0 add:SmallInteger() 2021-08-05 16:11:10 +08:00
402998c907 fix for codefactor smells 2021-07-25 12:15:13 +02:00
3528d6effa add docs, provide check if Config is a class, ignore dynamic bases for mypy 2021-07-25 12:11:50 +02:00
29761999e7 Allow custom model config 2021-07-24 11:43:48 -07:00
b423c1c56d fixes for #270 and #274 2021-07-21 14:39:23 +02:00
479ca7d619 fix generation of nested Pydantic fields 2021-07-21 14:09:10 +02:00
302d0e5068 refactor to method 2021-07-06 15:20:58 +02:00
cb4e5ea955 improve date handling 2021-07-06 15:11:26 +02:00
107404c3e8 fix inherited pk and add field accessor access to relations 2021-06-25 13:32:31 +02:00
557105a591 fix coverage 2021-06-22 13:09:55 +02:00
172a6a2be6 bug fixes 2021-06-22 12:58:39 +02:00
89c05ecf54 add querysetproxy methods and tests 2021-06-08 14:54:16 +02:00
9b27ef187d add release notes 2021-06-08 14:39:03 +02:00
a1557273b0 add docstrings to alias resolver 2021-06-07 18:27:44 +02:00
d441c36d01 finish implementing values, missing docstrings and docs 2021-06-07 17:42:30 +02:00
13a8655126 exclude through models 2021-06-06 15:58:38 +02:00
fa061e06eb wip - some cleanup 2021-06-05 18:56:25 +02:00
955ac48cdd wip - refactor of alias resolver - through models columns with fields are not properly handled yet 2021-06-05 18:53:15 +02:00
b1b3d5cd92 first ugly version of values and values_list - to refactor and check with m2m 2021-06-04 18:21:16 +02:00
7b92884f39 fix for #226 2021-06-04 15:50:09 +02:00
c8ca6edb22 fix for not saving related model in reverse rel 2021-06-02 13:05:10 +02:00
f52797fb06 more tests for excluding parent fields, finished docs 2021-06-02 10:16:47 +02:00
af394de483 Merge branch 'master' of https://github.com/collerek/ormar into get_pydantic 2021-06-02 08:56:29 +02:00
62c70250a9 Fix for #214 2021-06-02 02:16:23 -04:00
3b9c8b323b add exclude_parent_fields param and first test 2021-06-01 18:51:06 +02:00
5cbac6583e wip work on expanding fastapi docs 2021-05-30 15:58:18 +02:00
b643c884ac add fastapi tests for get_pydantic 2021-05-24 18:04:41 +02:00
f93ab413de add get_pydantic and basic tests 2021-05-23 16:44:24 +02:00
40f1076443 fix for base64 choices #204 2021-05-20 16:12:33 +02:00
68149dc32a add misin literal in 3.6-3.7 2021-05-18 16:27:06 +02:00
a28ab0a8a2 fixes for #199 and unreported choices bug 2021-05-18 16:16:12 +02:00
57803ac8e6 fix for default values in pk models 2021-05-18 13:34:02 +02:00
b9a38be5c6 bump ver 2021-05-17 17:32:12 +02:00
0527c5fb82 refactor into descriptors, cleanup, docs update 2021-05-17 17:21:10 +02:00
22a774201b WIP super dirty - workaround __setattr__ 2021-05-16 20:53:42 +02:00
4c79ce5a5e WIP super dirty - change to descriptors and different tries 2021-05-16 20:42:07 +02:00
bd2a67af84 update docs, add params to json too 2021-05-11 17:39:43 +02:00
70ac1e3361 add excludes for pks and through models in dict 2021-05-07 18:38:44 +02:00
e564acbb45 Merge pull request #183 from collerek/large_binary
Add large binary, support for native pydantic fields, examples in openapi
2021-05-02 15:11:46 +02:00
1f0ceb3f48 change check for pydantic list in outer type 2021-05-02 15:03:02 +02:00
18706d884c add also basic examples for native pydantic fields including models to not skip them 2021-04-30 18:36:25 +02:00