TAPQuery¶
-
class
pyvo.dal.tap.
TAPQuery
(baseurl, query, mode='sync', language='ADQL', maxrec=None, uploads=None)[source]¶ Bases:
pyvo.dal.query.DALQuery
initialize the query object with the given parameters
Parameters: baseurl : str
the TAP baseurl
query : str
the query string / parameters
mode : str
the query mode (sync | async). default “sync”
language : str
the query language. defaults to ADQL
maxrec : int
the amount of records to fetch
uploads : dict
Files to upload. Uses table name as key and file name as value
Methods Summary
execute_stream
()submit the query and return the raw VOTable XML as a file stream getqueryurl
()submit
()does the actual request Methods Documentation