-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Is your feature request related to a problem? Please describe.
MONAI/monai/utils/deprecate_utils.py
Lines 119 to 127 in e8c6247
| def deprecated_arg( | |
| name, | |
| since: Optional[str] = None, | |
| removed: Optional[str] = None, | |
| msg_suffix: str = "", | |
| version_val: str = __version__, | |
| new_name: Optional[str] = None, | |
| warning_category=FutureWarning, | |
| ): |
the
deprecated_arg can trigger warnings when a deprecating argument is provided by the user,it however doesn't warn when a default value of an argument has been/will be changed.
for example it's currently not possible to warn about these changes: