Skip to content

Commit da8ea36

Browse files
committed
Refactor: Made NVAS optional kwargs keyword only
1 parent 4b29a35 commit da8ea36

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

astroquery/nvas/core.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class NvasClass(BaseQuery):
3434
"D": (110, 170),
3535
}
3636

37-
def get_images(self, coordinates, radius=0.25 * u.arcmin, max_rms=10000,
37+
def get_images(self, coordinates, *, radius=0.25 * u.arcmin, max_rms=10000,
3838
band="all", get_uvfits=False, verbose=True,
3939
get_query_payload=False, show_progress=True):
4040
"""
@@ -82,7 +82,7 @@ def get_images(self, coordinates, radius=0.25 * u.arcmin, max_rms=10000,
8282

8383
return filelist
8484

85-
def get_images_async(self, coordinates, radius=0.25 * u.arcmin,
85+
def get_images_async(self, coordinates, *, radius=0.25 * u.arcmin,
8686
max_rms=10000, band="all", get_uvfits=False,
8787
verbose=True, get_query_payload=False,
8888
show_progress=True):
@@ -136,7 +136,7 @@ def get_images_async(self, coordinates, radius=0.25 * u.arcmin,
136136
show_progress=show_progress)
137137
for U in image_urls]
138138

139-
def get_image_list(self, coordinates, radius=0.25 * u.arcmin,
139+
def get_image_list(self, coordinates, *, radius=0.25 * u.arcmin,
140140
max_rms=10000, band="all", get_uvfits=False,
141141
get_query_payload=False):
142142
"""
@@ -191,7 +191,7 @@ def get_image_list(self, coordinates, radius=0.25 * u.arcmin,
191191
get_uvfits=get_uvfits)
192192
return image_urls
193193

194-
def extract_image_urls(self, html_in, get_uvfits=False):
194+
def extract_image_urls(self, html_in, *, get_uvfits=False):
195195
"""
196196
Helper function that uses regexps to extract the image urls from the
197197
given HTML.

0 commit comments

Comments
 (0)