]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Rewrite pool reset_on_return parsing using a util function
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 11 Aug 2019 19:24:13 +0000 (15:24 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 12 Aug 2019 02:34:04 +0000 (22:34 -0400)
commitff37cd87ef60c801cd068b8d7834947d196f9040
tree87f20d6ef7113d0756e11058e1d6b5c82f03e5d1
parentc37c31a90fad5b6da5b73882afddb0e5d292d2f8
Rewrite pool reset_on_return parsing using a util function

Choosing a util.symbol() based on a user parameter is about to have
another use case added as part of #4623, so add a generalized solution
ahead of it.

Change-Id: I420631f81af2ffc655995b9cce9ff2ac618c16d7
(cherry picked from commit 2a079cdc76b3a0f5b4f37299d280d328586e2f7e)
lib/sqlalchemy/pool/base.py
lib/sqlalchemy/util/langhelpers.py
test/base/test_utils.py