plaid.utils.deprecation¶
Implementation of deprecation utilities.
Attributes¶
Functions¶
|
Decorator to mark a function, method, or class as deprecated. |
|
Decorator to mark a function argument as deprecated and redirect it to a new argument. |
Module Contents¶
- deprecated(reason: str, version: str | packaging.version.Version | None = None, removal: str | packaging.version.Version | None = None)[source]¶
Decorator to mark a function, method, or class as deprecated.
Uses built-in warnings.deprecated when running on Python 3.13+, otherwise falls back to a custom warning wrapper.