-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consider a function-layer in the ORM that returns "Any"
all ORM functions that are used in declarative are now made separate from the classes they refer towards in all cases and indicate the return type of Any so they can be used inline with Mapped[_T] in declarative mappings such that IDEs can deliver Mapped[] behavior without any linter errors. this will require changes in the mypy plugin as we can no longer rely on simple things like "composite()" returning CompositeProperty. References: https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/3074 Fixes: #170
- Loading branch information
Showing
2 changed files
with
142 additions
and
10 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