@@ -24,7 +24,7 @@ class XMatchClass(BaseQuery):
24
24
URL = conf .url
25
25
TIMEOUT = conf .timeout
26
26
27
- def query (self , cat1 , cat2 , max_distance ,
27
+ def query (self , cat1 , cat2 , max_distance , * ,
28
28
colRA1 = None , colDec1 = None , colRA2 = None , colDec2 = None ,
29
29
area = 'allsky' , cache = True , get_query_payload = False , ** kwargs ):
30
30
"""
@@ -70,8 +70,8 @@ def query(self, cat1, cat2, max_distance,
70
70
table : `~astropy.table.Table`
71
71
Query results table
72
72
"""
73
- response = self .query_async (cat1 , cat2 , max_distance , colRA1 , colDec1 ,
74
- colRA2 , colDec2 , area = area , cache = cache ,
73
+ response = self .query_async (cat1 , cat2 , max_distance , colRA1 = colRA1 , colDec1 = colDec1 ,
74
+ colRA2 = colRA2 , colDec2 = colDec2 , area = area , cache = cache ,
75
75
get_query_payload = get_query_payload ,
76
76
** kwargs )
77
77
if get_query_payload :
@@ -81,7 +81,7 @@ def query(self, cat1, cat2, max_distance,
81
81
return Table .read (content , format = 'votable' , use_names_over_ids = True )
82
82
83
83
@prepend_docstr_nosections ("\n " + query .__doc__ )
84
- def query_async (self , cat1 , cat2 , max_distance , colRA1 = None , colDec1 = None ,
84
+ def query_async (self , cat1 , cat2 , max_distance , * , colRA1 = None , colDec1 = None ,
85
85
colRA2 = None , colDec2 = None , area = 'allsky' , cache = True ,
86
86
get_query_payload = False , ** kwargs ):
87
87
"""
@@ -173,7 +173,7 @@ def is_table_available(self, table_id):
173
173
174
174
return table_id in self .get_available_tables ()
175
175
176
- def get_available_tables (self , cache = True ):
176
+ def get_available_tables (self , * , cache = True ):
177
177
"""Get the list of the VizieR tables which are available in the
178
178
xMatch service and return them as a list of strings.
179
179
0 commit comments