Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions docs/mast/mast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1132,18 +1132,6 @@ If a token is not supplied, the user will be prompted to enter one.

To view tokens accessible through your account, visit https://auth.mast.stsci.edu

.. doctest-skip::

>>> from astroquery.mast import Observations
...
>>> Observations.login(token="12348r9w0sa2392ff94as841")
INFO: MAST API token accepted, welcome User Name [astroquery.mast.core]
...
>>> sessioninfo = Observations.session_info()
eppn: user_name@stsci.edu
ezid: uname
...

.. doctest-skip::

>>> from astroquery.mast import Observations
Expand All @@ -1154,7 +1142,7 @@ To view tokens accessible through your account, visit https://auth.mast.stsci.ed
>>> sessioninfo = Observations.session_info()
eppn: user_name@stsci.edu
ezid: uname
...
...

\* For security tokens should not be typed into a terminal or Jupyter notebook
but instead input using a more secure method such as `~getpass.getpass`.
Expand Down