]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- annotations store 'parententity' as well as 'parentmapper'
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 13 Feb 2009 18:08:40 +0000 (18:08 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 13 Feb 2009 18:08:40 +0000 (18:08 +0000)
commit1de90125739067b1a97208af020ee2fcded07db0
tree3d9d2a7b935f3a30b1cd573caf802786fba34933
parent7954673ea7c67bce21eac18779cf611d1bcf123b
- annotations store 'parententity' as well as 'parentmapper'
- ORMAdapter filters all replacements against a non-compatible 'parentmapper' annotation
- Other filterings, like
query(A).join(A.bs).filter(B.foo=='bar'), were erroneously
adapting "B.foo" as though it were an "A".
CHANGES
lib/sqlalchemy/orm/evaluator.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/util.py
test/orm/inheritance/query.py