You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: astroquery_cli/modules/gaia_cli.py
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@
7
7
8
8
console=Console()
9
9
10
+
# Suppress Gaia server messages during import
11
+
gaia_conf.show_server_messages=False
12
+
10
13
from ..utilsimportdisplay_table, handle_astroquery_exception, parse_coordinates, parse_angle_str_to_quantity, common_output_options, save_table_to_file
11
14
from ..utilsimportglobal_keyboard_interrupt_handler
12
15
from ..i18nimportget_translator
@@ -43,6 +46,9 @@ def gaia_callback(
43
46
)
44
47
):
45
48
setup_debug_context(ctx, debug, verbose)
49
+
# Re-enable Gaia server messages when the gaia app is actually invoked
50
+
gaia_conf.show_server_messages=True
51
+
console.print(builtins._("[yellow]Please note that the Gaia ESA Archive has been rolled back to version 3.7. Please find the release notes at https://www.cosmos.esa.int/web/gaia-users/archive/release-notes[/yellow]"))
0 commit comments