b1ab0de4d4
Bump supported fastapi versions ( #1110 )
...
* Bump supported fastapi version to <=0.97, change all fastapi tests from starlette client to httpx.AsyncClient
* Add lifecycle manager to fastapi tests
* Fix coverage
* Add python 3.11 to test suite, bump version
2023-06-18 18:52:06 +02:00
3661967a27
Bump dependencies ( #874 )
...
* fix pytest-asynio bump to 0.19
* bump mypy
* fix coverage of async fixtures
2022-10-11 16:29:41 +02:00
6af92aa893
Fix enum schema ( #715 )
...
* fix schema with enum fields - issue #699
* fix drivers dependencies - make them optional
* fix command
* provide extras
* add bolean field to related model
* add test with select related and boolean
* new test case based on issue
* fix bool issue in postgres limit queries - issue #704
* fix coverage
* bump version and add release info
2022-06-26 19:36:13 +02:00
90f78e2fa7
Draft 0.11.0 ( #594 )
...
* fix for #584
* fix for #580
* fix typing
* connect to db in test
* refactor test
* remove async mark
* connect client
* fix mypy
* fix mypy
* update deps
* check py3.10?
* remove py3.6, bump version
2022-03-28 18:47:35 +02:00
fc32001fe7
Update get_or_create method
2022-02-01 09:44:07 +03:30
15be5170f3
fix #409 - nullable large binary fields
2021-12-16 14:44:01 +01:00
9559c0f7f6
inherit choices validators and class validators for fields in generated pydantic models
2021-10-11 16:22:50 +02:00
f6458be157
fix coverage
2021-10-11 12:22:47 +02:00
d8f0dc92f0
refactor choices validation from root validator to field validator
2021-10-10 14:11:25 +02:00
b637fc0774
remove .vscode settings, re-dump orjson choices to fix choices, move mypy config into pyproject.toml
2021-10-08 20:14:03 +02:00
1da9111dbd
add extra to Model.Meta, update docs and bump version
2021-09-26 14:07:47 +02:00
521b9e6c12
fix for obsolete pydantic parameters
2021-08-06 16:03:29 +02:00
7e242f4fd3
add:SmallInteger()
2021-08-06 15:57:07 +08:00
7baaee63ce
add:SmallInteger()
2021-08-06 11:43:51 +08:00
172a6a2be6
bug fixes
2021-06-22 12:58:39 +02:00
2d0ba2383a
fix headers for fastapi 0.65.2+
2021-06-09 12:01:15 +02:00
7a84577613
remove manual ids from get_pydantic tests
2021-05-31 19:09:29 +02:00
64e4288358
expand docs on get_pydantic
2021-05-31 19:04:01 +02:00
5cbac6583e
wip work on expanding fastapi docs
2021-05-30 15:58:18 +02:00
88a49e67dd
check modyfing annotations hack for mypy
2021-05-25 13:33:52 +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
a28ab0a8a2
fixes for #199 and unreported choices bug
2021-05-18 16:16:12 +02:00
7d94e13d21
add missing connection in tests
2021-05-18 13:38:02 +02:00
57803ac8e6
fix for default values in pk models
2021-05-18 13:34:02 +02:00
0527c5fb82
refactor into descriptors, cleanup, docs update
2021-05-17 17:21:10 +02:00
4c79ce5a5e
WIP super dirty - change to descriptors and different tries
2021-05-16 20:42:07 +02:00
70ac1e3361
add excludes for pks and through models in dict
2021-05-07 18:38:44 +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
12c002776b
add examples to openapi schema, some perf improvements
2021-04-30 16:46:41 +02:00
11ed5fd322
add large binary field, tests and docs
2021-04-28 17:06:15 +02:00
7a27778b44
add and/or/not to filtergroups, add left and right shift to operators, add some tests, add *args to other functions that read data and use filter
2021-04-19 19:49:42 +02:00
1c24ade8c8
fix __all__ error in exclude, update docs
2021-04-16 14:14:24 +02:00
b3b1c156b5
add skip_reverse parameter, add links to related libs, fix weakref error, fix through error with extra=forbid
2021-04-11 18:43:23 +02:00
da05e5ba1d
split tests into packages
2021-03-30 12:48:39 +02:00