]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added "add()" and "add_all()" to scoped_session
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 27 Jul 2008 16:52:05 +0000 (16:52 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 27 Jul 2008 16:52:05 +0000 (16:52 +0000)
commit80a0abb7a7423f63bbda171da292dc8a18f5ece5
tree2db1f933cf59f142116d957cd495ac8bb9e454f7
parentdeeee6eb33ffa392d200d5c4e8924b85c6ba33b6
- Added "add()" and "add_all()" to scoped_session
methods.  Workaround for 0.4.7:

from sqlalchemy.orm.scoping import ScopedSession,\
instrument
setattr(
    ScopedSession, "add", instrument("add"))
setattr(
    ScopedSession, "add_all", instrument("add_all"))
CHANGES
VERSION
lib/sqlalchemy/orm/scoping.py
test/orm/session.py