[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Add with_for_update() support in session.refresh()
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-05-24 22:08:09
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/de11c5217b4c/ Changeset: de11c5217b4c Branch: master User: zzzeek Date: 2017-05-24 20:23:56+00:00 Summary: Add with_for_update() support in session.refresh() Session.refresh() is still hardcoded to legacy lockmode, come up with a new API so that the newer argument style works with it. Added new argument :paramref:`.with_for_update` to the :meth:`.Session.refresh` method. When the :meth:`.Query.with_lockmode` method were deprecated in favor of :meth:`.Query.with_for_update`, the :meth:`.Session.refresh` method was never updated to reflect the new option. Change-Id: Ia02a653746b7024699b515451525a88d7a17d63a Fixes: #3991 Affected #: 7 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. |