[Sqlalchemy-commits] commit/sqlalchemy: plumSemPy: Ensure session.no_autoflush uses finally
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-01-04 17:44:45
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/cd95d4a5b928/ Changeset: cd95d4a5b928 Branch: master User: plumSemPy Date: 2017-01-04 17:12:52+00:00 Summary: Ensure session.no_autoflush uses finally The :attr:`.Session.no_autoflush` context manager now ensures that the autoflush flag is reset within a "finally" block, so that if an exception is raised within the block, the state still resets appropriately. Pull request courtesy Emin Arakelian. Change-Id: Ib19ddf32074b1df82a6a1f1ae14e3a962cd31a5f Pull-request: https://github.com/zzzeek/sqlalchemy/pull/335 Affected #: 3 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |