Skip to content

ESO: authenticated not enabled by default after login for queries #3473

@vandalt

Description

@vandalt

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions