-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add `id: Serial` * replace `pass` with `... ` in abstract properties * improve types for Postgres' `AsyncBatch` * improve types for SQLite's `AsyncBatch` * ignore deliberate type errors * add assertions for nullable values * fix type annotation for `test_function` in `MigrationTestCase` * more null assertions * make sure the error code is a string * add `id: Serial` to a table * fix iPython import path * add type annotations to `COLUMN_DEFAULT_PARSER` * add pyright to CI * check that engine is `PostgresEngine` * ignore deliberate type error * more null assertions * more null assertions * fix database checks * ignore unbound value errors * make sure `Engine` has `log_queries` and `log_responses` values * remove test cases which don't match literal values * null assertions * ignore deliberate type error * add `id: Serial` annotations * fix type annotation for `Time` default value allow it to receive a function which returns a `time` value * fix type annotation for `Date` offset It can accept a function which returns a `date` value * fix type annotation for `Timestamp` default * fix remaining errors in `test_migrations.py` * refactor `test_add_column` * add test methods to `M2MBase` * ignore some type errors * fix pydantic types * fix type warnings with engines * fix `fixtures/commands/load.py` warnings * fix `schema.py` warnings * fix `table.py` warnings * make assertion more explicit * refactor `M2MBase` * fix `test_m2m.py` warnings * fixes for `migration_manager.py` * ignore some errors * foreign key improvements * fix formatting * fixes for `test_join.py` and `test_objects.py` * fix remaining issues in `test_join.py` * ignore deliberate error in `test_slots.py` * fix issues in `test_all_related.py` * fix errors in `test_pydantic.py` * fix errors in `schema.py` * fix errors in `test_select.py` * fix errors in `test_get_related_readable.py` * fix errors in `test_all_columns.py` * fix errors in `user/test_tables.py` * fix errors in `test_indexes.py` * fix errors in `select.py` * remove unused `Self` * fix errors with `M2MBase` * fix errors in `test_foreign_key_self.py` * fix errors in `test_primary_key.py` * fix errors with `m2m.py` * fix errors with `test_objects.py` * ignore errors with update * fix migration errors with `migrations_folder_path` * fix array errors * added `resolved_migrations_folder_path` * try fixing `Batch` * add an extra overload for `output` * fix errors in `WhereDelegate` and `AddDelegate` * fix errors in `test_attribute_access.py` * fix errors in `test_schema.py` * use `resolved_migrations_folder_path` in `test_apps.py` * fix errors in `test_columns_delegate.py` * ignore error in `test_output.py` * add explicit exports to `migrations/auto/__init__.py` * improve `atomic` * disable pyright in linter for now * reformat with latest black * remove unused import * remove duplicate import * fix test * rename `Batch` to `BaseBatch` * upgrade pyright and move to a separate script * fix linter warnings * remove some unnecessary type casting * remove unnecessary type casts * use `pass` for consistency with other methods in class * fix some more pyright warnings * fix pyright warnings for `BaseBatch. __aenter__` * fix `BaseTransaction. __aexit__` return type * check length of self.columns in M2MSelect
- Loading branch information
1 parent
2b79717
commit e1550b4
Showing
40 changed files
with
365 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.