@@ -65,7 +65,7 @@ class MPCClass(BaseQuery):
65
65
def __init__ (self ):
66
66
super ().__init__ ()
67
67
68
- def query_object_async (self , target_type , get_query_payload = False , * args , ** kwargs ):
68
+ def query_object_async (self , target_type , * , get_query_payload = False , ** kwargs ):
69
69
"""
70
70
Query around a specific object within a given mission catalog. When
71
71
searching for a comet, it will return the entry with the latest epoch.
@@ -194,9 +194,9 @@ def query_object_async(self, target_type, get_query_payload=False, *args, **kwar
194
194
self .get_mpc_object_endpoint (target_type )
195
195
196
196
kwargs ['limit' ] = 1
197
- return self .query_objects_async (target_type , get_query_payload , * args , ** kwargs )
197
+ return self .query_objects_async (target_type , get_query_payload = get_query_payload , ** kwargs )
198
198
199
- def query_objects_async (self , target_type , get_query_payload = False , * args , ** kwargs ):
199
+ def query_objects_async (self , target_type , * , get_query_payload = False , ** kwargs ):
200
200
"""
201
201
Query around a specific object within a given mission catalog
202
202
@@ -343,7 +343,7 @@ def get_mpc_object_endpoint(self, target_type):
343
343
return mpc_endpoint
344
344
345
345
@class_or_instance
346
- def get_ephemeris_async (self , target , location = '500' , start = None , step = '1d' ,
346
+ def get_ephemeris_async (self , target , * , location = '500' , start = None , step = '1d' ,
347
347
number = None , ut_offset = 0 , eph_type = 'equatorial' ,
348
348
ra_format = None , dec_format = None ,
349
349
proper_motion = 'total' , proper_motion_unit = 'arcsec/h' ,
@@ -610,7 +610,7 @@ def get_ephemeris_async(self, target, location='500', start=None, step='1d',
610
610
return response
611
611
612
612
@class_or_instance
613
- def get_observatory_codes_async (self , get_raw_response = False , cache = True ):
613
+ def get_observatory_codes_async (self , * , get_raw_response = False , cache = True ):
614
614
"""
615
615
Table of observatory codes from the IAU Minor Planet Center.
616
616
@@ -656,7 +656,7 @@ def get_observatory_codes_async(self, get_raw_response=False, cache=True):
656
656
return response
657
657
658
658
@class_or_instance
659
- def get_observatory_location (self , code , cache = True ):
659
+ def get_observatory_location (self , code , * , cache = True ):
660
660
"""
661
661
IAU observatory location.
662
662
@@ -774,7 +774,7 @@ def _args_to_ephemeris_payload(self, **kwargs):
774
774
return request_args
775
775
776
776
@class_or_instance
777
- def get_observations_async (self , targetid ,
777
+ def get_observations_async (self , targetid , * ,
778
778
id_type = None ,
779
779
comettype = None ,
780
780
get_mpcformat = False ,
0 commit comments