Skip to content

Commit b2ec807

Browse files
committed
Updated deprecated example
1 parent ead1b13 commit b2ec807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/mast/mast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ To view tokens accessible through your account, visit https://auth.mast.stsci.ed
12841284

12851285
>>> from astroquery.mast import Observations
12861286
...
1287-
>>> my_session = Observations(token="12348r9w0sa2392ff94as841")
1287+
>>> my_session = Observations.login(token="12348r9w0sa2392ff94as841")
12881288
INFO: MAST API token accepted, welcome User Name [astroquery.mast.core]
12891289
...
12901290
>>> sessioninfo = Observations.session_info()

0 commit comments

Comments
 (0)