diff options
author | Augustin Trancart <augustin.trancart@oslandia.com> | 2019-01-12 10:46:01 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-12 17:19:37 -0500 |
commit | 8fac612ec0de7da6dc6f5153833f4430a80d2f4c (patch) | |
tree | c7e4c2529f357d3d672e0a895976141d9ebcc2b8 /test/base/test_utils.py | |
parent | 55f930ef3d4e60bed02a2dad16e331fe42cfd12b (diff) | |
download | sqlalchemy-8fac612ec0de7da6dc6f5153833f4430a80d2f4c.tar.gz |
Add standalone orm.close_all method and deprecate SessionMaker.close_all
Added a new function :func:`.close_all_sessions` which takes
over the task of the :meth:`.Session.close_all` method, which
is now deprecated as this is confusing as a classmethod.
Pull request courtesy Augustin Trancart.
Fixes: #4412
Closes: #4438
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4438
Pull-request-sha: 7833d12a9898c82d50716427144bf3276c22ab3f
Change-Id: Ib35eaa520ae886f3f8f550f9712fc3b139e00b60
Diffstat (limited to 'test/base/test_utils.py')
0 files changed, 0 insertions, 0 deletions