]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Improved the check for an "unmapped class",
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 8 Jul 2010 14:16:13 +0000 (10:16 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 8 Jul 2010 14:16:13 +0000 (10:16 -0400)
commitd559f9fc94a9635984470634a7b6714e168361a0
tree85b952a8c3e8b9ea6294be398c26a118f301db37
parent3f6e16c3de78e12c710980bc38f602bfdf53dc5d
- Improved the check for an "unmapped class",
including the case where the superclass is mapped
but the subclass is not.  Any attempts to access
cls._sa_class_manager.mapper now raise
UnmappedClassError().  [ticket:1142]
CHANGES
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/state.py
lib/sqlalchemy/orm/util.py
test/orm/test_mapper.py