-
-
Notifications
You must be signed in to change notification settings - Fork 423
Remove astroquery.utils.decorators
#2155
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2155 +/- ##
==========================================
+ Coverage 66.24% 66.42% +0.18%
==========================================
Files 419 418 -1
Lines 28118 28026 -92
==========================================
- Hits 18626 18616 -10
+ Misses 9492 9410 -82
Continue to review full report at Codecov.
|
CHANGES.rst
Outdated
The API for JPLspec's ``lookup_table.find`` function returns a dictionary | ||
instead of values (for compatibility w/CDMS). [#2144] | ||
|
||
- The functions ``astroquery.utils.decorators.deprecated()`` and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These never was part of the public API and was only internally used, so won't need a changelog.
https://astroquery.readthedocs.io/en/latest/utils.html?highlight=decorator
astroquery/utils/decorators.py
Outdated
@@ -1,180 +1,20 @@ | |||
from astropy.utils.decorators import deprecated as _deprecated | |||
from astropy.utils.decorators import (deprecated_renamed_argument |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for this, the module is entirely for internal usage, remove it altogether rather than deprecate.
The deleted file was no longer necessary because everything it defined can be safely imported directly from `astropy`, and there was only a single instance in the code where that was not being done already.
a6919e8
to
6845150
Compare
astroquery.utils.decorators
astroquery.utils.decorators
Thanks @eerovaher! |
The minimum required
astropy
version was updated in #1925, and that has made theastroquery.utils.decorators
module obsolete.