def query(query):
<EOL>with warnings.catch_warnings() :<EOL><INDENT>warnings.filterwarnings("<STR_LIT:ignore>")<EOL>_gaia_job = astroquery.gaia.Gaia.launch_job(query)<EOL>return _gaia_job.get_results()<EOL><DEDENT>
Send an ADQL query to the Gaia archive,
wait for a response,
and hang on to the results.