diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-01-23 00:49:12 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-01-23 00:49:12 +0000 |
commit | caabadf86666256d1626b84e512fd66bad52fb50 (patch) | |
tree | 1133c622ee5a03b4eb864932b8ab5056d5333873 /lib/sqlalchemy/ext/assignmapper.py | |
parent | fb7c98d41ce0dc9007560cef723a69c88683c9ff (diff) | |
download | sqlalchemy-caabadf86666256d1626b84e512fd66bad52fb50.tar.gz |
added "instances" to assign_mapper funcs [ticket:433]
Diffstat (limited to 'lib/sqlalchemy/ext/assignmapper.py')
-rw-r--r-- | lib/sqlalchemy/ext/assignmapper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/assignmapper.py b/lib/sqlalchemy/ext/assignmapper.py index dddb25bdc..89cf962e7 100644 --- a/lib/sqlalchemy/ext/assignmapper.py +++ b/lib/sqlalchemy/ext/assignmapper.py @@ -34,8 +34,8 @@ def assign_mapper(ctx, class_, *args, **kwargs): extension = ctx.mapper_extension m = mapper(class_, extension=extension, *args, **kwargs) class_.mapper = m - for name in ['get', 'select', 'select_by', 'selectone', 'get_by', 'join_to', 'join_via', 'count', 'count_by', 'options']: + for name in ['get', 'select', 'select_by', 'selectone', 'get_by', 'join_to', 'join_via', 'count', 'count_by', 'options', 'instances']: monkeypatch_query_method(ctx, class_, name) for name in ['flush', 'delete', 'expire', 'refresh', 'expunge', 'merge', 'save', 'update', 'save_or_update']: monkeypatch_objectstore_method(ctx, class_, name) - return m
\ No newline at end of file + return m |