* fix: debug condition check not none limit count
* test: write a test for check zero limit empty list
* fix: debug assert check empty list with is keyword
* 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>
* feat: add action enum class to referential actions
* feat: write validation func for action name string
* test: write test for validation referential action
* fix: backend database running for action test
* fix: set the string type of value enum class
* fix: debuging return statement type for validation
* fix: return non empty for empty action
* refactor: change in line return if statement
* fix: add iterate method in read document md
* fix: update foreign key docstring types
* docs: write documention of refernal actions
* docs: complete referential actions descriptions
* refactor: rename and reposition referential action
* refactor: change validate referential action func
* test: add assert check for really deleted rows
* fix: debug error problem in renamed enum class
* fix: apply black formatted codes
* docs: update the document for referential actions
* docs: added note for server default argument
Co-authored-by: collerek <collerek@gmail.com>
* feat: add check columns class
* feat: write document of check columns part
* test: write a test for check columns constraints
* fix: debuging test exception raise mysql
* fix: set pragma no cover to ignore cov
* fix: ignore pytest raise in python 3.x not 10
* feat: set constraint name for check columns
* refactor: support index and check overwrites
* fix: debuging check constraint arguments
* fix: debug coverage all code tests
* fix: pass the map of type constraint to counter
* refactor: edit check name replace sapce underline
* refactor: write new function copy constraints
* test: write test for invalid constraint type
* fix: debug text cluase replaced names
* fix: set pragma no cover for result returned
* refactor: no coverage for main if statement
* perf: change get constraint copy func code
* fix: fix bug in mypy typing check
* 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>
* 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
* add __cache__ property into PydanticMixin
* add new test for exclude fields on relations
* fix the return type from __cache__ property
* run pre-commit lints/checks
Co-authored-by: collerek <collerek@gmail.com>
* 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