pyart.exceptions._deprecated_alias#
- pyart.exceptions._deprecated_alias(func, old_name, new_name)[source]#
A function for creating an alias to a renamed or moved function.
- Parameters:
func (func) – The function which has been renamed or moved.
old_name, new_name (str) – Name of the function before and after it was moved or renamed (with namespace if changed).
- Returns:
wrapper (func) – A wrapper version of func, which issues a DeprecatedFunctionName warning when the called.