]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Calling class_mapper() and passing in an object
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 Sep 2011 20:18:44 +0000 (16:18 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 Sep 2011 20:18:44 +0000 (16:18 -0400)
commitbb978f2e0a4c455b28825aed3fcc80bf70f09c49
treece4ef4aa4428a5625ee3ff91b931d0211de2ebf5
parentd2bd1395c65b2c298a1deef54fd1d04bbf54697f
- Calling class_mapper() and passing in an object
that is not a "type" (i.e. a class that could
potentially be mapped) now raises an informative
ArgumentError, rather than UnmappedClassError.
[ticket:2196]
CHANGES
lib/sqlalchemy/orm/util.py
test/orm/test_mapper.py