Skip to content

Commit f7ead30

Browse files
nkphysicsbsipocz
authored andcommitted
Refactor: Made image_cutouts/first kwargs keyword only
1 parent 653f831 commit f7ead30

File tree

1 file changed

+6
-6
lines changed
  • astroquery/image_cutouts/first

1 file changed

+6
-6
lines changed

astroquery/image_cutouts/first/core.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class FirstClass(BaseQuery):
1616
TIMEOUT = conf.timeout
1717
maximsize = 1024
1818

19-
def _args_to_payload(self, coordinates, image_size=1 * u.arcmin,
20-
*, maximsize=None):
19+
def _args_to_payload(self, coordinates, *, image_size=1 * u.arcmin,
20+
maximsize=None):
2121
"""
2222
Fetches image cutouts from FIRST survey.
2323
@@ -49,8 +49,8 @@ def _args_to_payload(self, coordinates, image_size=1 * u.arcmin,
4949
return request_payload
5050

5151
@prepend_docstr_nosections("\n" + _args_to_payload.__doc__)
52-
def get_images(self, coordinates, image_size=1 * u.arcmin,
53-
*, get_query_payload=False):
52+
def get_images(self, coordinates, *, image_size=1 * u.arcmin,
53+
get_query_payload=False):
5454
"""
5555
get_query_payload : bool, optional
5656
if set to `True` then returns the dictionary sent as the HTTP
@@ -71,8 +71,8 @@ def get_images(self, coordinates, image_size=1 * u.arcmin,
7171
raise InvalidQueryError(response.content)
7272

7373
@prepend_docstr_nosections("\n" + _args_to_payload.__doc__)
74-
def get_images_async(self, coordinates, image_size=1 * u.arcmin,
75-
*, get_query_payload=False):
74+
def get_images_async(self, coordinates, *, image_size=1 * u.arcmin,
75+
get_query_payload=False):
7676
"""
7777
get_query_payload : bool, optional
7878
if set to `True` then returns the dictionary sent as the HTTP

0 commit comments

Comments
 (0)