Skip to content

Commit 58f856c

Browse files
committed
MAINT: deprecating print_catalogs to remove the TODO
1 parent fb76dd6 commit 58f856c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroquery/ipac/irsa/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import warnings
1111
from astropy.coordinates import SkyCoord, Angle
1212
from astropy import units as u
13-
from astropy.utils.decorators import deprecated_renamed_argument
13+
from astropy.utils.decorators import deprecated, deprecated_renamed_argument
1414

1515
from pyvo.dal import TAPService, SIA2Service, SSAService
1616
from pyvo.dal.sia2 import SIA2_PARAMETERS_DESC
@@ -314,7 +314,7 @@ def list_catalogs(self, full=False, cache=False):
314314
else:
315315
return {tap_table['table_name']: tap_table['description'] for tap_table in tap_tables}
316316

317-
# TODO, deprecate this as legacy
317+
@deprecated(since="0.4.10", alternative="list_catalogs")
318318
def print_catalogs(self):
319319
catalogs = self.list_catalogs()
320320

0 commit comments

Comments
 (0)