With Jupyter Notebooks 6.0.3, when we do "login" the token "Password" is not displayed. This change solves the problem by changing line 1903 of astroquery/utils/tap/core.py as follows:
password = getpass.getpass("Password: ")
This change ensures that the token "Password: " is always displayed
@@ -1900,7 +1900,7 @@ class TapPlus(Tap):
log.info("Invalid user name")
return
if password is None:
- password = getpass.getpass()
+ password = getpass.getpass("Password: ")
if password is None:
log.info("Invalid password")
return
