Skip to content

Rename query_xyz_tap and query() methods to query_tap #2363

@bsipocz

Description

@bsipocz

As we discussed in #2122 (comment), it would make sense to rename the module specific tap methods to be a generic query_tap, to simplify the API.

With the exception of HSA (which hasn't yet been released), this has to be done with proper deprecation. I milestone it to 0.4.7, so we'll avoid the need to deprecate for HSA (and well, 0.4.7 will have a ton of cleanup work, this would fit nicely in that logic).

Affected modules:

astroquery/esa/iso/core.py:    def query_ida_tap(self, query, *, output_file=None,
astroquery/esa/hubble/core.py:    def query_hst_tap(self, query, async_job=False, output_file=None,
astroquery/esa/xmm_newton/core.py:    def query_xsa_tap(self, query, *, output_file=None,
astroquery/esa/hsa/core.py:    def query_hsa_tap(self, query, *, output_file=None,

cc @jespinosaar

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions