-
-
Notifications
You must be signed in to change notification settings - Fork 428
Closed
Labels
Description
Hi! I have been testing the updated ESO implementation based on TAP query now that #3339 has been merged.
Everything is working great so far, but I had one hiccup with authentication: after logging with Eso.login(), TAP queries are not authenticated by default since the authenticated keyword argument to query_instrument() and query_main() is False by default. This is not a bug, but I found it somewhat unexpected. I was wondering if a note about this could be added in the documentation, and/or if the default behaviour could be changed to authenticated=True when the user is logged in.
Happy to submit a docs and/or code PR depending on the preferred fix.
Thank you!
Here is a snippet to reproduce:
eso = Eso()
eso.ROW_LIMIT = None
eso.login(username="APERO")
# Some files are missing without `authenticated=True`
files_tbl = eso.query_instrument("nirps", authenticated=True)