Skip to content

Commit

Permalink
edit intersphinx links
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Jan 26, 2024
1 parent 17d0a9e commit 4f4acdf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions astroquery/simbad/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def server(self, server: str):

@property
def tap(self):
"""A ``~pyvo.dal.tap.TAPService`` service for Simbad."""
"""A `~pyvo.dal.TAPService` service for Simbad."""
tap_url = f"https://{self.server}/simbad/sim-tap"
# only creates a new tap instance if there are no existing one
# or if the server property changed since the last getter call.
Expand Down Expand Up @@ -1026,7 +1026,7 @@ def list_tables(self, *, get_adql=False):
Returns
-------
`~astropy.table.table.Table`
`~astropy.table.Table`
"""
query = ("SELECT table_name, description"
" FROM TAP_SCHEMA.tables"
Expand Down Expand Up @@ -1127,7 +1127,7 @@ def list_linked_tables(self, table: str, *, get_adql=False):
Returns
-------
`~astropy.table.table.Table`
`~astropy.table.Table`
The information necessary to join the given table to an other.
Examples
Expand Down Expand Up @@ -1155,7 +1155,7 @@ def _cached_query_tap(self, query: str, *, maxrec=10000):
This private method is called when query_tap is executed without an
``uploads`` extra keyword argument. This is a work around because
`~astropy.table.table.Table` objects are not hashable and thus cannot
`~astropy.table.Table` objects are not hashable and thus cannot
be used as arguments for a function decorated with lru_cache.
Parameters
Expand All @@ -1168,7 +1168,7 @@ def _cached_query_tap(self, query: str, *, maxrec=10000):
Returns
-------
`~astropy.table.table.Table`
`~astropy.table.Table`
The response returned by Simbad.
"""
return self.tap.run_async(query, maxrec=maxrec).to_table()
Expand All @@ -1185,14 +1185,14 @@ def query_tap(self, query: str, *, maxrec=10000, **uploads):
maxrec : int, default: 10000
The number of records to be returned. Its maximum value is given by
`~astroquery.simbad.SimbadClass.hardlimit`.
uploads : `~astropy.table.table.Table` | `~astropy.io.votable.tree.VOTableFile` | `~pyvo.dal.DALResults`
uploads : `~astropy.table.Table` | `~astropy.io.votable.tree.VOTableFile` | `~pyvo.dal.DALResults`
Any number of local tables to be used in the *query*. In the *query*, these tables
are referred as *TAP_UPLOAD.table_alias* where *TAP_UPLOAD* is imposed and *table_alias*
is the keyword name you chose. The maximum number of lines for the uploaded tables is 200000.
Returns
-------
`~astropy.table.table.Table`
`~astropy.table.Table`
The response returned by Simbad.
Notes
Expand Down
2 changes: 1 addition & 1 deletion astroquery/vizier/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def get_catalog_metadata(self, *, catalog=None, get_query_payload=False):
Returns
-------
`~astropy.table.table.Table`
`~astropy.table.Table`
A table with the following columns:
- title
- authors
Expand Down
2 changes: 1 addition & 1 deletion docs/simbad/query_tap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ ADQL criteria ``IN`` like so:

And that would work perfectly... until we reach the character limit for the ADQL query. This
is one of the example use case where the upload table capability is very useful. You can create/use
an `~astropy.table.table.Table` containing the desired list and use it in a ``JOIN`` to replace an ``IN``:
an `~astropy.table.Table` containing the desired list and use it in a ``JOIN`` to replace an ``IN``:

.. doctest-remote-data::

Expand Down

0 comments on commit 4f4acdf

Please sign in to comment.