diff options
Diffstat (limited to 'lib/sqlalchemy/orm/scoping.py')
| -rw-r--r-- | lib/sqlalchemy/orm/scoping.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sqlalchemy/orm/scoping.py b/lib/sqlalchemy/orm/scoping.py index 40bbb3299..af518e407 100644 --- a/lib/sqlalchemy/orm/scoping.py +++ b/lib/sqlalchemy/orm/scoping.py @@ -58,13 +58,11 @@ class ScopedSession(object): self.registry().close() self.registry.clear() - @deprecated("Session.mapper is deprecated. " + @deprecated("0.5", ":meth:`.ScopedSession.mapper` is deprecated. " "Please see http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SessionAwareMapper " "for information on how to replicate its behavior.") def mapper(self, *args, **kwargs): - """return a mapper() function which associates this ScopedSession with the Mapper. - - DEPRECATED. + """return a :func:`.mapper` function which associates this ScopedSession with the Mapper. """ |
