A wrapper around the 'deprecation' library that provides support for deprecated aliases of functions, methods, and classes. Current version 0.4.0, requires Python >=3.6.1. Maintained by domdfcoding, releases are infrequent.
pip install deprecation-aliasVerified import paths — ran on the pinned version, not inferred.
Define a deprecated alias for an existing function using the deprecated_alias decorator.
Ensure 'deprecation' is in your project dependencies: pip install deprecation or add to requirements.txt.
Review the documentation for proper usage. For classes, consider using @deprecated_alias on the class itself.
Verify that the target name exists in the same module scope as the decorator.