summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/mapping/mapper.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-03-06 02:27:13 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-03-06 02:27:13 +0000
commita0079b6831aef2b604859f89f07772e65c04d5d4 (patch)
treee70475a71ecc1cc198f8a7dd70f17fb081fb9727 /lib/sqlalchemy/mapping/mapper.py
parent51acad4b5bf4ec5517d66e111d625ac0a0fd443e (diff)
downloadsqlalchemy-a0079b6831aef2b604859f89f07772e65c04d5d4.tar.gz
added new 'polymorphic' example. still trying to understand it :) .
fixes to relation to enable it to locate "direction" more consistently with inheritance relationships more tweaks to parenthesizing subqueries, unions, etc.
Diffstat (limited to 'lib/sqlalchemy/mapping/mapper.py')
-rw-r--r--lib/sqlalchemy/mapping/mapper.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sqlalchemy/mapping/mapper.py b/lib/sqlalchemy/mapping/mapper.py
index 6a7eb9659..7b4595fb0 100644
--- a/lib/sqlalchemy/mapping/mapper.py
+++ b/lib/sqlalchemy/mapping/mapper.py
@@ -952,7 +952,6 @@ def object_mapper(object):
def class_mapper(class_):
"""given a class, returns the primary Mapper associated with the class."""
- return mapper_registry[class_]
try:
return mapper_registry[class_]
except KeyError: