]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- query.get() now returns None if queried for an identifier
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 13 Mar 2010 17:28:50 +0000 (12:28 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 13 Mar 2010 17:28:50 +0000 (12:28 -0500)
commit3290ac23df9eed8a61324eb68f062a7de29e549d
tree60804a7b5612beaf706dc424c6ceb43605b73fc0
parent10659a005cbfc8ded6b905ff822d490f3961f3b7
- query.get() now returns None if queried for an identifier
that is present in the identity map with a different class
than the one requested, i.e. when using polymorphic loading.
[ticket:1727]
CHANGES
lib/sqlalchemy/orm/query.py
test/orm/inheritance/test_basic.py