mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-18 22:52:01 -04:00
Reword deprecation message for Connection.run_callable()
based on feedback at https://github.com/sqlalchemy/sqlalchemy/commit/00b5c10846e800304caa86549ab9da373b42fa5d#r48321551 Change-Id: Ibdf4b4fb86af0b8f282a7866883837915ea2934e
This commit is contained in:
@@ -2078,7 +2078,8 @@ class Connection(Connectable):
|
||||
"1.4",
|
||||
"The :meth:`_engine.Connection.run_callable` "
|
||||
"method is deprecated and will "
|
||||
"be removed in a future release. Use a context manager instead.",
|
||||
"be removed in a future release. Invoke the callable function "
|
||||
"directly, passing the Connection.",
|
||||
)
|
||||
def run_callable(self, callable_, *args, **kwargs):
|
||||
r"""Given a callable object or function, execute it, passing
|
||||
|
||||
Reference in New Issue
Block a user