]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- some naming changes on PropComparator, Comparator:
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 26 Oct 2012 00:28:03 +0000 (20:28 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 26 Oct 2012 00:28:03 +0000 (20:28 -0400)
commit7f043a9666eecdecc54fe779ffdd50a7d5bb0086
tree945a98439e89265422632d20289babbe3079f7b1
parent519c705317e801d714bd05a28f8b2786695d81cc
- some naming changes on PropComparator, Comparator:

  1. all Comparators now have "parent" which is always the parent mapper
  or AliasedClass instance

  2. only RelationshipProperty.Comparator has "mapper" now, which
  is the target mapper

  3. The names "parententity" and "parentmapper" are underscored

also improved the message with the "neither comparator nor instruentedattribute...."
to include the classname + attribute name
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/util.py
test/orm/test_inspect.py
test/orm/test_mapper.py