Open bsipocz opened 1 year ago
Signatures for async functions seems to be a broader issue.
>>> from astroquery.vizier import Vizier
>>> import inspect
>>> print(inspect.signature(Vizier.query_constraints))
(self, *args, **kwargs)
>>> print(inspect.signature(Vizier.find_catalogs))
(keywords, *, include_obsolete=False, verbose=False, max_catalogs=None, return_type='votable')
>>> print(inspect.signature(Vizier.query_object))
(self, *args, **kwargs)
>>> print(inspect.signature(Vizier.query_region))
(self, *args, **kwargs)
Signatures for async functions seems to be a broader issue.
async functions are big issues on their own right 😅 , and should probably go for good for most of the classes. Some discussions are here: https://github.com/astropy/astroquery/issues/2598
I think we can do better that
*args
and**kwargs
for the Mast methods. E.g.cc @jaymedina