-
-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use deprecation
package for deprecation warnings
#2028
Comments
I have been looking into this and I have a (probably very basic) question. The |
The deprecat package (built on top of the ( |
@brosaplanella I was looking through some solutions for this and while I couldn't find anything to deprecate some lines of code, there are indeed ways for deprecating arguments: in addition to deprecat mentioned by @Saransh-cpp, there's also pyDeprecate – a similar library with many more customisations available, applicable on both classes and methods along with forwarding inputs to newer arguments. Both of them will come at the cost of an extra dependency, so here is a purely Pythonic way which could perhaps be implemented as helper functions in |
|
Replace existing deprecation warnings/errors with
deprecation
package so tests fail after a few releases.The text was updated successfully, but these errors were encountered: