diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-11-09 11:31:23 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-11-09 13:57:18 -0500 |
commit | 52b3d6649525929ee1ec14487a2f007194ed741d (patch) | |
tree | 66d24d06b9362051064a41ac38fe18d5a8ce0607 /test/dialect/postgresql/test_async_pg_py3k.py | |
parent | cf404d840c15fe167518dd884b295dc99ee26178 (diff) | |
download | sqlalchemy-52b3d6649525929ee1ec14487a2f007194ed741d.tar.gz |
upgrade deferred loader to regular loader if refresh_state
Fixed issue where deferred polymorphic loading of attributes from a
joined-table inheritance subclass would fail to populate the attribute
correctly if the :func:`_orm.load_only` option were used to originally
exclude that attribute, in the case where the load_only were descending
from a relationship loader option. The fix allows that other valid options
such as ``defer(..., raiseload=True)`` etc. still function as expected.
Fixes: #7304
Change-Id: I58b7ce7c450bcc52d2f0c9bfbcb4d747463ee9b2
Diffstat (limited to 'test/dialect/postgresql/test_async_pg_py3k.py')
0 files changed, 0 insertions, 0 deletions