@@ -151,7 +151,7 @@ def __init__(self, **kwargs):
151
151
"""
152
152
super ().__init__ ()
153
153
154
- def _args_to_payload (self , molecule_number = 1 , isotopologue_number = 1 ,
154
+ def _args_to_payload (self , * , molecule_number = 1 , isotopologue_number = 1 ,
155
155
min_frequency = None , max_frequency = None ):
156
156
"""
157
157
Code to parse input and construct the payload dictionary.
@@ -199,7 +199,7 @@ def _args_to_payload(self, molecule_number=1, isotopologue_number=1,
199
199
return payload
200
200
201
201
@prepend_docstr_nosections ("\n " + _args_to_payload .__doc__ )
202
- def query_lines_async (self , get_query_payload = False , cache = True , ** kwargs ):
202
+ def query_lines_async (self , * , get_query_payload = False , cache = True , ** kwargs ):
203
203
"""
204
204
Queries Hitran class for a particular molecule with default arguments
205
205
set. Based on fetch function from hapi.py.
@@ -223,7 +223,7 @@ def query_lines_async(self, get_query_payload=False, cache=True, **kwargs):
223
223
224
224
return response
225
225
226
- def _parse_result (self , response , verbose = False ):
226
+ def _parse_result (self , response , * , verbose = False ):
227
227
"""
228
228
Parse a response into an `~astropy.table.Table`
229
229
"""
0 commit comments