]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Move custom 2.0 deprecation warning message
authorStephen Rosen <sirosen@globus.org>
Thu, 15 Apr 2021 18:35:03 +0000 (18:35 +0000)
committerStephen Rosen <sirosen@globus.org>
Fri, 7 May 2021 15:59:59 +0000 (15:59 +0000)
commitd57446619f3b331c88208d2d80ebbe656ff119f5
tree3e80c5330480c2de51ebb3b02c6b0a543c536f9f
parent5bb0fdedfdd53e8430d47dbc5a41d131a27ff567
Move custom 2.0 deprecation warning message

Rather than appending to the message via the deprecation utilities,
the RemovedIn20Warning class has a custom __str__ which appends the
desired info to its message.
lib/sqlalchemy/exc.py
lib/sqlalchemy/util/deprecations.py