-
-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make SomeModel._default_manager return a BaseManager[SomeModel] inste…
…ad of BaseManager[Model] (#817) * _default_manager has more specific type for TypeVars * remove unnecessary # type: ignore * add test for _base_manager * add overloads for classproperty.__get__ * readd # type: ignore for WSGIRequestHandler.connection, fails in github's pipeline * fix _base_manager test: mypy reveals an inferred type Co-authored-by: Michael Pöhle <[email protected]>
- Loading branch information
1 parent
060dc3b
commit 7329059
Showing
3 changed files
with
44 additions
and
8 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