]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add correct descriptor methods to dynamic/writeonly
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Jun 2023 14:11:14 +0000 (10:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Jun 2023 17:07:31 +0000 (13:07 -0400)
commitb880dca14a13c7cf861aa5531738ee303c3eded7
tree3a603929b55e18b4a88efc45e3d8e56ad2f4e3b5
parentf79d09221b1ec6cd6bc8d83d6e947db5f75c6d1c
add correct descriptor methods to dynamic/writeonly

Fixed typing issue which prevented :class:`_orm.WriteOnlyMapped` and
:class:`_orm.DynamicMapped` attributes from being used fully within ORM
queries.

Fixes: #9985
Change-Id: I33eef4d06fc84e85f2ea1a997a017ffce47df7d6
doc/build/changelog/unreleased_20/9985.rst [new file with mode: 0644]
lib/sqlalchemy/orm/base.py
test/ext/mypy/plain_files/dynamic_rel.py
test/ext/mypy/plain_files/write_only.py