]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
copy deferred attributes for mapped_column
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 30 Mar 2023 16:55:45 +0000 (12:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 30 Mar 2023 19:15:19 +0000 (15:15 -0400)
commit671e0197b600b7b418fe7ca08d8864ea90f9a4f5
tree8d1ebdad5aeac7d5080941b1741a7be9950e9c66
parent72d2ec57928bdf5649c551bdaa87b7fb0943c2fe
copy deferred attributes for mapped_column

Fixed issue where the :func:`_orm.mapped_column` construct would raise an
internal error if used on a Declarative mixin and included the
:paramref:`_orm.mapped_column.deferred` parameter.

Fixes: #9550
Change-Id: I0cc5ec4910656abc9a3fb7b7b60880256cd7c61e
doc/build/changelog/unreleased_20/9550.rst [new file with mode: 0644]
lib/sqlalchemy/orm/properties.py
test/orm/declarative/test_tm_future_annotations_sync.py
test/orm/declarative/test_typed_mapping.py