Waket Zheng
Waket Zheng
## Description - fixes one TODO mark in tortoise/models.py about Model._init_from_db 1. Refactor the logic of execute_select function in executor who using several `_init_from_db` 2. Refactor generate logic of `db_native_fields/db_default_fields/db_complex_fields`,...
When running `make test_postgres_asyncpg` in local machine, the following warnings raised: ``` ============================================== warnings summary ============================================== tortoise/fields/data.py:79 tortoise/fields/data.py:79 tortoise/fields/data.py:79 tortoise/fields/data.py:79 tortoise/fields/data.py:79 tortoise/fields/data.py:79 tortoise/fields/data.py:79 tortoise/fields/data.py:79 /Users/mac10.12/github/tortoise-orm/tortoise/fields/data.py:79: DeprecationWarning: `pk` is deprecated, please...
## Description ## Motivation and Context Refactor, to reduce duplicated code ## How Has This Been Tested? make ci ## Checklist: - [x] My code follows the code style of...
## Description Improve type hints to reduce `type:ignore` ## Motivation and Context Only `make style` and improve type hint without changing any code logic ## How Has This Been Tested?...
1. Move line 21 to be line 23, so that it is easy to compare git+ssh with git+https 2. Add a real sample for install with git+ssh
## Topic Fixes #449 ## Checklist - [x] pre-commit run --all-files - [x] tox
**Describe the Bug** Run unittest in local virtual environment that managed by poetry raises the following error: ``` (coveralls-py3.11) mac10.12 in ~/trying/coveralls-python on master ● λ poetry run pytest ======================================================...
Respect type hints in https://python-poetry.org/docs/plugins/#event-handler
# Summary Closes #3229 # Checklist - [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!) - [x]...