Skip to content

Commit 8b98cdc

Browse files
authored
Two more methods to have kwarg only
1 parent 272e1cf commit 8b98cdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroquery/esasky/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ def query_ids_spectra(self, observation_ids, *, missions=__ALL_STRING, row_limit
724724

725725
return commons.TableList(query_result)
726726

727-
def get_maps(self, query_table_list, missions=__ALL_STRING,
727+
def get_maps(self, query_table_list, *, missions=__ALL_STRING,
728728
download_dir=_MAPS_DOWNLOAD_DIR, cache=True):
729729
"""
730730
This method takes the dictionary of missions and metadata as returned by
@@ -892,7 +892,7 @@ def get_images(self, *, position=None, observation_ids=None, radius=__ZERO_ARCMI
892892
log.info("No maps found.")
893893
return maps
894894

895-
def get_spectra(self, position=None, observation_ids=None, radius=__ZERO_ARCMIN_STRING,
895+
def get_spectra(self, *, position=None, observation_ids=None, radius=__ZERO_ARCMIN_STRING,
896896
missions=__ALL_STRING, download_dir=_SPECTRA_DOWNLOAD_DIR,
897897
cache=True):
898898
"""

0 commit comments

Comments
 (0)