You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if deprecated could warn about deprecated arguments, e.g. like
@deprecated_arg(name="old_arg_name", since="1.2", version=mypackage.__version__, reason="'old_arg_name' is not consistent with some reference")
def my_function(old_arg_name, other_args):
pass
which would yield a message like:
"my_function" called with deprecated argument "old_arg_name"
This is a feature idea, not a bug report.
It would be great if
deprecated
could warn about deprecated arguments, e.g. likewhich would yield a message like:
Optionally with a new name hint, so
which would yield a message like:
The text was updated successfully, but these errors were encountered: