]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add .autocommit to scoped_session
authorBen Fagin <blouis@unquietcode.com>
Fri, 30 Jun 2017 20:36:33 +0000 (16:36 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 5 Jul 2017 19:11:48 +0000 (15:11 -0400)
commit5c30910759b288d2686a063d1372a33bc6414162
treeef00604398dda7d180be6b8cd9b26fbce8b1b817
parent7d3da6f850dca54b941275279470c37bec64a48f
Add .autocommit to scoped_session

Added ``.autocommit`` attribute to :class:`.scoped_session`, proxying
the ``.autocommit`` attribute of the underling :class:`.Session`
currently assigned to the thread.  Pull request courtesy
Ben Fagin.

Change-Id: Iff741978bd67762f4c7375a23cc151b26192042b
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/372
doc/build/changelog/changelog_12.rst
lib/sqlalchemy/orm/scoping.py