@@ -37,7 +37,7 @@ class HeasarcClass(BaseQuery):
37
37
TIMEOUT = conf .timeout
38
38
coord_systems = ['fk5' , 'fk4' , 'equatorial' , 'galactic' ]
39
39
40
- def query_async (self , request_payload , cache = True , url = None ):
40
+ def query_async (self , request_payload , * , cache = True , url = None ):
41
41
"""
42
42
Submit a query based on a given request_payload. This allows detailed
43
43
control of the query to be submitted.
@@ -50,7 +50,7 @@ def query_async(self, request_payload, cache=True, url=None):
50
50
timeout = self .TIMEOUT , cache = cache )
51
51
return response
52
52
53
- def query_mission_list (self , cache = True , get_query_payload = False ):
53
+ def query_mission_list (self , * , cache = True , get_query_payload = False ):
54
54
"""
55
55
Returns a list of all available mission tables with descriptions
56
56
"""
@@ -76,7 +76,7 @@ def query_mission_list(self, cache=True, get_query_payload=False):
76
76
data_start = 3 , data_end = - 1 )
77
77
return table
78
78
79
- def query_mission_cols (self , mission , cache = True , get_query_payload = False ,
79
+ def query_mission_cols (self , mission , * , cache = True , get_query_payload = False ,
80
80
** kwargs ):
81
81
"""
82
82
Returns a list containing the names of columns that can be returned for
@@ -108,7 +108,7 @@ def query_mission_cols(self, mission, cache=True, get_query_payload=False,
108
108
109
109
return self ._parse_result (response ).colnames
110
110
111
- def query_object_async (self , object_name , mission ,
111
+ def query_object_async (self , object_name , mission , * ,
112
112
cache = True , get_query_payload = False ,
113
113
** kwargs ):
114
114
"""
@@ -138,7 +138,7 @@ def query_object_async(self, object_name, mission,
138
138
return self .query_async (request_payload , cache = cache )
139
139
140
140
def query_region_async (self , position : Union [coordinates .SkyCoord , str ],
141
- mission , radius , cache = True , get_query_payload = False ,
141
+ mission , radius , * , cache = True , get_query_payload = False ,
142
142
** kwargs ):
143
143
"""
144
144
Query around specific set of coordinates within a given mission
@@ -245,7 +245,7 @@ def _blank_table_fallback(self, data):
245
245
warnings .warn (NoResultsWarning ("No matching rows were found in the query." ))
246
246
return emptytable
247
247
248
- def _parse_result (self , response , verbose = False ):
248
+ def _parse_result (self , response , * , verbose = False ):
249
249
# if verbose is False then suppress any VOTable related warnings
250
250
if not verbose :
251
251
commons .suppress_vo_warnings ()
0 commit comments