[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Annotate parentmapper in primaryjoin / secondaryjoi
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-03-16 16:58:58
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/63a7b2d2d940/ Changeset: 63a7b2d2d940 Branch: master User: zzzeek Date: 2017-03-16 16:34:40+00:00 Summary: Annotate parentmapper in primaryjoin / secondaryjoin This patch applies the "parentmapper" annotation to the columns in the primaryjoin/secondaryjoin, but more dramatically, also removes all the "deannotate" steps that were historically applied to the relationship primaryjoin/secondaryjoin. These deannotation steps were left over from the initial implementations of annotations where the behaviors were not as reliable. By ensuring these annotations are present, the evaluator no longer needs to do a name-based lookup when it sees a column that has no "parentmapper", because it can be assured this is not a mapped column. This fixes the issue where the expression were based on a relationship primaryjoin but the name of a column in the join condition didn't match the attribute name. Change-Id: I8c1d4594116d4109fef314a87c96a24d2efa0058 Fixes: #3366 Affected #: 4 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |