File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 218
218
- Added function ``mast.Observations.get_unique_product_list `` to return the unique data products associated with
219
219
given observations. [#3096]
220
220
221
+ - Deprecate ``enable_cloud_dataset `` and ``disable_cloud_dataset `` in classes where they
222
+ are non-operational. [#3113]
223
+
221
224
mpc
222
225
^^^
223
226
Original file line number Diff line number Diff line change 5
5
6
6
This the base class for MAST queries.
7
7
"""
8
+ import warnings
9
+
10
+ from astropy .utils .exceptions import AstropyDeprecationWarning
8
11
from ..query import QueryWithLogin
9
12
from . import utils
10
13
from .auth import MastAuth
14
+ from .cloud import CloudAccess
11
15
from .discovery_portal import PortalAPI
12
16
from .services import ServiceAPI
13
17
@@ -81,6 +85,26 @@ def logout(self):
81
85
self ._auth_obj .logout ()
82
86
self ._authenticated = False
83
87
88
+ def enable_cloud_dataset (self , provider = "AWS" , profile = None , verbose = True ):
89
+ """
90
+ .. deprecated:: 0.4.8
91
+ This function is non-operational and has been deprecated.
92
+
93
+ :raises AstropyDeprecationWarning: This function is deprecated and should not be used.
94
+ """
95
+ warnings .warn ('This function is non-operational and will be removed in a future release.' ,
96
+ AstropyDeprecationWarning )
97
+
98
+ def disable_cloud_dataset (self ):
99
+ """
100
+ .. deprecated:: 0.4.8
101
+ This function is non-operational and has been deprecated.
102
+
103
+ :raises AstropyDeprecationWarning: This function is deprecated and should not be used.
104
+ """
105
+ warnings .warn ('This function is non-operational and will be removed in a future release.' ,
106
+ AstropyDeprecationWarning )
107
+
84
108
def resolve_object (self , objectname ):
85
109
"""
86
110
Resolves an object name to a position on the sky.
You can’t perform that action at this time.
0 commit comments