diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-12 13:01:34 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-12 13:01:34 -0500 |
commit | 0d71ea8126137d2b3d4141aa0fb30c2e64376d44 (patch) | |
tree | edcc99227a474a61686f277fdc36cf2b0960e14c /lib/sqlalchemy/orm/dynamic.py | |
parent | 6d5dd2214a4cc6340d8f07147a43fac03a12b040 (diff) | |
download | sqlalchemy-0d71ea8126137d2b3d4141aa0fb30c2e64376d44.tar.gz |
- inlinings and callcount reductions
- add test coverage for the rare case of noload->lazyload + pickle
Diffstat (limited to 'lib/sqlalchemy/orm/dynamic.py')
-rw-r--r-- | lib/sqlalchemy/orm/dynamic.py | 2 |
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, |