diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-05-22 15:08:10 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-05-23 11:13:18 -0400 |
commit | 1c692f019b16ff4f3eb17ea8d09731837cc3be76 (patch) | |
tree | 9829896302c427fe2751ebc862640578a3f882dc /lib/sqlalchemy/orm/attributes.py | |
parent | eed7888f85a4255390e2522dbd428cbfe7a08bab (diff) | |
download | sqlalchemy-1c692f019b16ff4f3eb17ea8d09731837cc3be76.tar.gz |
Add clause adaptation for AliasedClass to with_parent()
Fixed bug where :meth:`.Query.with_parent` would not work if the
:class:`.Query` were against an :func:`.aliased` construct rather than
a regular mapped class. Also adds a new parameter
:paramref:`.util.with_parent.from_entity` to the standalone
:func:`.util.with_parent` function as well as
:meth:`.Query.with_parent`.
Change-Id: Ic684dd63cc90b582c7580c9bba3c92fa3f286da7
Fixes: #3607
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
0 files changed, 0 insertions, 0 deletions