Skip to content

Commit 4ca5342

Browse files
nkphysicsbsipocz
authored andcommitted
Refactor: Made jplsbdb kwargs keyword only
1 parent 2634ac6 commit 4ca5342

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

astroquery/jplsbdb/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SBDBClass(BaseQuery):
2727
# actual query uri
2828
_uri = None
2929

30-
def query_async(self, targetid, id_type='search',
30+
def query_async(self, targetid, *, id_type='search',
3131
neo_only=False,
3232
alternate_id=False,
3333
full_precision=False,
@@ -181,7 +181,7 @@ def query_async(self, targetid, id_type='search',
181181

182182
return response
183183

184-
def _parse_result(self, response, verbose=False):
184+
def _parse_result(self, response, *, verbose=False):
185185
"""
186186
internal wrapper to parse queries
187187
@@ -372,7 +372,7 @@ def _process_data_element(self, val):
372372

373373
return eldict
374374

375-
def schematic(self, d, _prepend='+--'):
375+
def schematic(self, d, *, _prepend='+--'):
376376
"""
377377
Formats the provided dictionary ``d`` into a human-readable tree
378378
structure schematic. In order to display the structure

0 commit comments

Comments
 (0)