Commit Graph

27 Commits

Author SHA1 Message Date
54305c25d1 mypy m2m iterator fix (#655)
* feat: add type hint for items in iterators for m2m relations

* chore: make flake8 happy
- rename some variables
- reorder some imports

* switch to typing.List

Co-authored-by: Benjamin Mollier <benjamin.mollier@meetap.de>
Co-authored-by: collerek <collerek@gmail.com>
2022-07-22 15:24:24 +02:00
ebf7c6e06f add enum field (#626)
* add enum field

* add decorator for asyncio

* fix enum typing, additional tests, add docs

* add more tests

Co-authored-by: collerek <collerek@gmail.com>
2022-04-27 12:01:00 +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
0e167dc89f use existing encode_json to avoid code duplication, rename queryset customization param and move it to Meta, move docs to models from inheritance 2022-01-26 17:59:00 +01:00
02df4300dd fix json to bytes when bulk-create 2022-01-18 15:45:15 +08:00
5677bda054 fix json fields in bulk operations 2022-01-14 18:27:49 +01:00
fd38e6e334 add post-signal in bulk-update & bulk-create 2022-01-14 14:21:57 +08:00
15be5170f3 fix #409 - nullable large binary fields 2021-12-16 14:44:01 +01:00
a720ab9510 Fix populate_default_values 2021-11-16 10:12:24 +03: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
b2541bed1e Added poetry integration.
Description:
* Fixed github actions;
* Removed requirements.txt;
* Fixed CONTRIBUTING.md;
* Fixed black and flake8.

Signed-off-by: Pavel <win10@list.ru>
2021-10-08 16:56:59 +04:00
b423c1c56d fixes for #270 and #274 2021-07-21 14:39:23 +02:00
557105a591 fix coverage 2021-06-22 13:09:55 +02:00
f52797fb06 more tests for excluding parent fields, finished docs 2021-06-02 10:16:47 +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
1c24ade8c8 fix __all__ error in exclude, update docs 2021-04-16 14:14:24 +02:00
d20198e6e1 fix mypy 2021-04-12 17:45:19 +02:00
854b27947a modify save_related to be able to save whole tree from dict - including reverse fk and m2m relations - with correct order of saving 2021-04-12 17:39:42 +02:00
2cc3b55a7c fix bulk_create trying to save property fields and pydantic fields 2021-04-02 11:27:22 +02:00
5c633d32a8 fix tests 2021-03-15 10:37:55 +01:00
6d0a5477cd wip pc problems backup 2021-03-14 19:09:34 +01:00
ef0a4cbd49 fix json fields and fix choices validation 2021-02-11 11:25:08 +01:00
9f8e8e87e8 next part of the docs and api documentation in beta ver 2021-01-04 19:38:21 +01:00
e4b4d9451d fill part of queryset docstrings 2021-01-03 17:54:09 +01:00
c4ff69b683 fill docstrings on mixins 2020-12-31 11:52:05 +01:00
101ea57879 further refactor into mixins 2020-12-31 09:23:21 +01:00