From 070a0f44f3a6ce651e6b8e9dcc84d2d507d00845 Mon Sep 17 00:00:00 2001 From: Agam Rafaeli Date: Mon, 17 Dec 2018 18:58:20 +0200 Subject: [PATCH] Add missing parameter to docstring --- lib/sqlalchemy/util/deprecations.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/sqlalchemy/util/deprecations.py b/lib/sqlalchemy/util/deprecations.py index e3eebfc0ca..9000cc7951 100644 --- a/lib/sqlalchemy/util/deprecations.py +++ b/lib/sqlalchemy/util/deprecations.py @@ -25,6 +25,9 @@ def warn_pending_deprecation(msg, stacklevel=3): def deprecated(version, message=None, add_deprecation_to_docstring=True): """Decorates a function and issues a deprecation warning on use. + :param version: + Issue version in the warning. + :param message: If provided, issue message in the warning. A sensible default is used if not provided. -- 2.47.3