Open bmorris3 opened 2 years ago
Also, by default query_object*
will has the regularize
kwarg set to True, which calls self._regularize_object_name(object_name)
, which calls self.query_aliases(object_name, cache=False)
, where the last cache kwarg is ignored. So right now the default query_object
method fails to cache the name and has to do a lookup online each time it is called, even when cache=True
.
The astroquery API allows for users to submit cached alias queries like this:
but the function doesn't do anything with the value
cache
(see source). Would it be possible to cache aliases?