Skip to content

Commit

Permalink
Issue astropy#1722: Turn off verbose Tap Plus instantiation messages …
Browse files Browse the repository at this point in the history
…in Gaia class constructor.
  • Loading branch information
jpl-jengelke authored and burnout87 committed May 10, 2022
1 parent fc9a1d8 commit bd738ef
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions astroquery/gaia/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,17 @@ def __init__(self, tap_plus_conn_handler=None,
gaia_tap_server='https://gea.esac.esa.int/',
gaia_data_server='https://gea.esac.esa.int/',
tap_server_context="tap-server",
data_server_context="data-server"):
data_server_context="data-server",
verbose=False):
super(GaiaClass, self).__init__(url=gaia_tap_server,
server_context=tap_server_context,
tap_context="tap",
upload_context="Upload",
table_edit_context="TableTool",
data_context="data",
datalink_context="datalink",
connhandler=tap_plus_conn_handler)
connhandler=tap_plus_conn_handler,
verbose=verbose)
# Data uses a different TapPlus connection
if datalink_handler is None:
self.__gaiadata = TapPlus(url=gaia_data_server,
Expand All @@ -67,7 +69,8 @@ def __init__(self, tap_plus_conn_handler=None,
upload_context="Upload",
table_edit_context="TableTool",
data_context="data",
datalink_context="datalink")
datalink_context="datalink",
verbose=verbose)
else:
self.__gaiadata = datalink_handler

Expand Down

0 comments on commit bd738ef

Please sign in to comment.