diff --git a/CHANGES.rst b/CHANGES.rst index 53c338c05a..683d229420 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -111,6 +111,8 @@ sdss - Support new SDSS-V DR18 access URLs. [#3017] +- Fix download caching. [#3123] + simbad ^^^^^^ diff --git a/astroquery/sdss/core.py b/astroquery/sdss/core.py index 56ea50db5a..1414eaddd0 100644 --- a/astroquery/sdss/core.py +++ b/astroquery/sdss/core.py @@ -345,7 +345,8 @@ def query_region_async(self, coordinates, *, radius=None, region=True, field_help=field_help, get_query_payload=True, - data_release=data_release) + data_release=data_release, + cache=cache) if width is not None: width = u.Quantity(width, u.degree).value @@ -774,6 +775,7 @@ def get_spectra_async(self, *, coordinates=None, radius=2. * u.arcsec, link = linkstr.format(**format_args) results.append(commons.FileContainer(link, + cache=cache, encoding='binary', remote_timeout=timeout, show_progress=show_progress))