]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove docs for deprecated feature
authorChris Withers <chris@simplistix.co.uk>
Fri, 30 Apr 2010 07:39:25 +0000 (08:39 +0100)
committerChris Withers <chris@simplistix.co.uk>
Fri, 30 Apr 2010 07:39:25 +0000 (08:39 +0100)
lib/sqlalchemy/orm/__init__.py

index c2f6337bc9b1ecbb7b8da0cfa7866cdff8195bf9..a262acd9f39db716a179b89f0e24c67e08ac9c8c 100644 (file)
@@ -136,13 +136,6 @@ def scoped_session(session_factory, scopefunc=None):
       Session.commit()
       Session.close()
 
-    To map classes so that new instances are saved in the current Session
-    automatically, as well as to provide session-aware class attributes such
-    as "query", use the `mapper` classmethod from the scoped session::
-
-      mapper = Session.mapper
-      mapper(Class, table, ...)
-
     """
     return ScopedSession(session_factory, scopefunc=scopefunc)