diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-18 20:30:14 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-18 20:31:27 -0400 |
| commit | fa817cc0ea21a4b28b7a076eab0b42010279fbc9 (patch) | |
| tree | dffbe841faa45b1631370d43ec13645cf64e55f0 /lib/sqlalchemy/ext/asyncio/engine.py | |
| parent | 8eb4ea7f609052333514919d38fd98780d57f243 (diff) | |
| download | sqlalchemy-fa817cc0ea21a4b28b7a076eab0b42010279fbc9.tar.gz | |
Bypass declared_attr w/ a custom wrapper for lambda criteria
Fixed bug in new :func:`_orm.with_loader_criteria` feature where using a
mixin class with :func:`_orm.declared_attr` on an attribute that were
accessed inside the custom lambda would emit a warning regarding using an
unmapped declared attr, when the lambda callable were first initialized.
This warning is now prevented using special instrumentation for this
lambda initialization step.
Fixes: #6320
Change-Id: I18ce0c662131f2e683b84caa38c01b2182eb210b
Diffstat (limited to 'lib/sqlalchemy/ext/asyncio/engine.py')
0 files changed, 0 insertions, 0 deletions
