From 1f58d4c2e407fee2c3625ec50242470e638127be Mon Sep 17 00:00:00 2001 From: Chris Withers Date: Fri, 30 Apr 2010 08:39:25 +0100 Subject: [PATCH] remove docs for deprecated feature --- lib/sqlalchemy/orm/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/sqlalchemy/orm/__init__.py b/lib/sqlalchemy/orm/__init__.py index c2f6337bc9..a262acd9f3 100644 --- a/lib/sqlalchemy/orm/__init__.py +++ b/lib/sqlalchemy/orm/__init__.py @@ -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) -- 2.47.2