mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-24 01:22:00 -04:00
Add missing parameter to docstring
Closes: #4410 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4410 Pull-request-sha:070a0f44f3Change-Id: I7a026bf6a2041e7686d90d5f155b88d8001f2ba8 (cherry picked from commitb1e4b59781)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user