Fix table cache
@@ -134,6 +134,7 @@ class ESASkyClass(BaseQuery):
tables = self._tap.load_tables(only_names=only_names,
include_shared_tables=False,
verbose=verbose)
+ self._cached_tables = tables
if only_names:
return [t.name for t in tables]
else:
@@ -157,8 +158,7 @@ class ESASkyClass(BaseQuery):
A list of columns
"""
- tables = self._tap.load_tables(only_names=False,
- include_shared_tables=False,
+ tables = self.get_tables(only_names=False,
verbose=verbose)
columns = None
for table in tables:
