From: Gord Thompson Date: Thu, 8 Apr 2021 15:24:28 +0000 (-0600) Subject: Update run_callable depr warn to suggest .begin() X-Git-Tag: rel_1_4_7~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74605e45364f5013f559a84cbbc2004896d18135;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update run_callable depr warn to suggest .begin() Change-Id: Ie5dd908710520fc94169393f826f80a2249ee77f --- diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 0a3ce3bdc0..20d11e578e 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -2983,7 +2983,7 @@ class Engine(Connectable, log.Identified): "1.4", "The :meth:`_engine.Engine.run_callable` " "method is deprecated and will be " - "removed in a future release. Use the :meth:`_engine.Engine.connect` " + "removed in a future release. Use the :meth:`_engine.Engine.begin` " "context manager instead.", ) def run_callable(self, callable_, *args, **kwargs):