input4mips_validation.deprecation#
input4mips_validation.deprecation
#
Deprecation support
raise_deprecation_warning(name, removed_in, use_instead, stacklevel=3)
#
Raise a deprecation warning
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Name of the callable being deprecated |
required |
removed_in
|
str
|
Version in which the callable will be removed |
required |
use_instead
|
str
|
Instructions on what to use instead of the deprecated callable |
required |
stacklevel
|
int
|
Stack level to show with the warning |
3
|