summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/dynamic.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/orm/dynamic.py')
-rw-r--r--lib/sqlalchemy/orm/dynamic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/dynamic.py b/lib/sqlalchemy/orm/dynamic.py
index 710b710a9..4637bad7e 100644
--- a/lib/sqlalchemy/orm/dynamic.py
+++ b/lib/sqlalchemy/orm/dynamic.py
@@ -199,7 +199,7 @@ class AppenderMixin(object):
self.attr = attr
mapper = object_mapper(instance)
- prop = mapper.get_property(self.attr.key)
+ prop = mapper._props[self.attr.key]
self._criterion = prop.compare(
operators.eq,
instance,