Files
ormar/tests/test_model_definition
Sepehr Bazyar 06c3bdb5eb Iterators QuerySet Method (#688)
* feat: add iterator function with sample docstring

* feat: implement the iterator queryset method

* feat: completed the docstring of iterator method

* test: write test function to check iterator result

* refactor: use iterate method instead fetch_all

* fix: debuging syntax error in kwargs of iterator

* feat: write a base sample doc for iterator method

* refactor: add ouput comment iterator docs example

* refactor: check change pk yield ormar model

* test: write new test to coverage iterator queryset

* fix: debuging new user model class 3 number

* fix: iterate on user3 model class

* fix: debug id field in user3 model by main user

* fix: remove prefetch_related for iterator method

* fix: debug mypy test for type annotation

* fix: added type annotation for rows variable

* simplify row checks as processing is expensive, raise exception on prefetch_related with iterator

* fix coverage

* fix mypy, bump mypy in pre-commit to newest version

* refactor: update document and test uuid pk type

* feat: write docs of iterate in quesrysetproxy

* feat: write iterate method querysetproxy tests

* fix: debuging new test written uuid pk

* refactor: seperate iterate test modules

* refactor: change description and handle empty set

* feat: added iterate method in readme files

* fix: set pragma: no cover for raised test

Co-authored-by: collerek <collerek@gmail.com>
2022-07-04 12:41:28 +02:00
..
2021-10-08 16:56:59 +04:00
2021-03-30 12:48:39 +02:00
2022-02-01 09:44:07 +03:30
2022-04-27 12:01:00 +02:00
2022-01-06 19:35:13 +01:00
2021-08-06 11:43:51 +08:00
2021-03-30 12:48:39 +02:00
2022-02-01 10:33:29 +03:30