]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Resolve AliasedClass when determining owning class of association proxy
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Oct 2017 18:34:16 +0000 (14:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Oct 2017 00:36:18 +0000 (20:36 -0400)
commite11194015680c0f0554f829d8f4cc56e8b285e67
tree75f8b7b238ef27246e25bd1e04bbf2ba61cb6a92
parent71c9b49141872f33773d905072a554a923d505ea
Resolve AliasedClass when determining owning class of association proxy

Fixed bug where the association proxy would inadvertently link itself
to an :class:`.AliasedClass` object if it were called first with
the :class:`.AliasedClass` as a parent, causing errors upon subsequent
usage.

Change-Id: I9161bab67766bb75d73ca54d712ad1cad6de40dc
Fixes: #4116
(cherry picked from commit f14a58dea4b825beb4baaef44389880927543cc4)
doc/build/changelog/unreleased_11/4116.rst [new file with mode: 0644]
lib/sqlalchemy/ext/associationproxy.py
test/ext/test_associationproxy.py