deprecation

deprecated(message)[source]

This is a decorator for functions to mark them as deprecated, issuing a warning when the function is called

Parameters

message – message, which can indicate the new recommended approach or reason for deprecation

Returns

decorated function