]> 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>
Fri, 20 Oct 2017 18:35:09 +0000 (14:35 -0400)
commitf14a58dea4b825beb4baaef44389880927543cc4
tree37a0f910e13acd2e093f57ca276cf4153b31eb59
parent55b511c3960cad636ff1e512594368a36a85ce5c
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
doc/build/changelog/unreleased_11/4116.rst [new file with mode: 0644]
lib/sqlalchemy/ext/associationproxy.py
test/ext/test_associationproxy.py