summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/schema.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-05-15 09:39:19 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-05-24 16:23:56 -0400
commitde11c5217b4c62f86dfd05a28689159095ab1024 (patch)
tree0b1521f3f770f47ea209c4a45ab51a7f225e2fca /lib/sqlalchemy/sql/schema.py
parent9a37503bbedcb958e515ea91c2322efb96bf2680 (diff)
downloadsqlalchemy-de11c5217b4c62f86dfd05a28689159095ab1024.tar.gz
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
Diffstat (limited to 'lib/sqlalchemy/sql/schema.py')
0 files changed, 0 insertions, 0 deletions