astropy / astropy/astroquery

Gaia: how to check that login was successful?

Open
#1,547 2 comments 0 reactions 0 assignees View on GitHub
gaia
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

Apologies if I've missed something obvious, but how should I check that a login, e.g. from `login_gui()` was successful? The method does not return anything to indicate success or failure.

It looks like I'd need to check `Gaia._GaiaClass__gaiatap._TapPlus__isLoggedIn`, which seems less than ideal given that it is using two levels of name-mangled "private" variables.

Contributor guide

Open the contributing guide

Research direction

Start by reading the Gaia.login_gui() entry point and the TapPlus login state referenced in the issue. Exercise the login flow to establish the current success and failure behavior. Done means users have a documented, public way to determine whether login succeeded without accessing name-mangled private variables.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.