]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Update run_callable depr warn to suggest .begin()
authorGord Thompson <gord@gordthompson.com>
Thu, 8 Apr 2021 15:24:28 +0000 (09:24 -0600)
committerGord Thompson <gord@gordthompson.com>
Thu, 8 Apr 2021 15:24:28 +0000 (09:24 -0600)
Change-Id: Ie5dd908710520fc94169393f826f80a2249ee77f

lib/sqlalchemy/engine/base.py

index 0a3ce3bdc05f1baaa892e6abd75ac841ded86b03..20d11e578ef12e5531f4d6a9132a0e91ccfa71de 100644 (file)
@@ -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):