Skip to content

Commit 0fe09da

Browse files
nkphysicsbsipocz
authored andcommitted
Refactor: Made ogle kwargs keyword only
1 parent 6772121 commit 0fe09da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroquery/ogle/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class OgleClass(BaseQuery):
5656
'a2', 'f8']
5757

5858
@_validate_params
59-
def _args_to_payload(self, coord=None, algorithm='NG', quality='GOOD',
59+
def _args_to_payload(self, *, coord=None, algorithm='NG', quality='GOOD',
6060
coord_sys='RD'):
6161
"""
6262
Query the OGLE-III interstellar extinction calculator.
@@ -143,7 +143,7 @@ def query_region_async(self, *args, **kwargs):
143143
response.raise_for_status()
144144
return response
145145

146-
def _parse_result(self, response, verbose=False):
146+
def _parse_result(self, response, *, verbose=False):
147147
# Parse table, ignore last two (blank) lines
148148
raw_data = response.text.split('\n')[:-2]
149149
# Select first row and skip first character ('#') to find column

0 commit comments

Comments
 (0)