@@ -272,7 +272,7 @@ def get_catalogs_async(self, catalog, verbose=False, return_type='votable',
272
272
273
273
return response
274
274
275
- def query_object_async (self , object_name , catalog = None , radius = None ,
275
+ def query_object_async (self , object_name , * , catalog = None , radius = None ,
276
276
coordinate_frame = None , get_query_payload = False ,
277
277
return_type = 'votable' , cache = True ):
278
278
"""
@@ -323,7 +323,7 @@ def query_object_async(self, object_name, catalog=None, radius=None,
323
323
data = data_payload , timeout = self .TIMEOUT , cache = cache )
324
324
return response
325
325
326
- def query_region_async (self , coordinates , radius = None , inner_radius = None ,
326
+ def query_region_async (self , coordinates , * , radius = None , inner_radius = None ,
327
327
width = None , height = None , catalog = None ,
328
328
get_query_payload = False , cache = True ,
329
329
return_type = 'votable' , column_filters = {},
@@ -332,6 +332,8 @@ def query_region_async(self, coordinates, radius=None, inner_radius=None,
332
332
Serves the same purpose as `query_region` but only
333
333
returns the HTTP response rather than the parsed result.
334
334
335
+ At least one of `radius` or `width` must be specified.
336
+
335
337
Parameters
336
338
----------
337
339
coordinates : str, `astropy.coordinates` object, or `~astropy.table.Table`
@@ -454,7 +456,7 @@ def query_region_async(self, coordinates, radius=None, inner_radius=None,
454
456
data = data_payload , timeout = self .TIMEOUT , cache = cache )
455
457
return response
456
458
457
- def query_constraints_async (self , catalog = None , return_type = 'votable' ,
459
+ def query_constraints_async (self , * , catalog = None , return_type = 'votable' ,
458
460
cache = True , get_query_payload = False ,
459
461
** kwargs ):
460
462
"""
0 commit comments