@@ -414,12 +414,12 @@ def list_surveys(self, *, cache=True) -> List[str]:
414414 def _columns_table (self , table_name : str , * , which_tap : str = "tap_obs" ) -> Table :
415415 if which_tap == "tap_obs" :
416416 help_query = ("select column_name, datatype, unit, xtype "
417- f"from TAP_SCHEMA.columns where table_name = '{ table_name } '" )
417+ f"from TAP_SCHEMA.columns where table_name = '{ table_name } '" )
418418 else :
419419 schema = _EsoNames .catalogue_schema
420420 help_query = ("select column_name, datatype, unit, ucd "
421- f"from TAP_SCHEMA.columns "
422- f"where table_name = '{ table_name .removeprefix (schema + '.' )} '" )
421+ f"from TAP_SCHEMA.columns "
422+ f"where table_name = '{ table_name .removeprefix (schema + '.' )} '" )
423423 return self .query_tap (help_query , which_tap = which_tap )
424424
425425 @unlimited_maxrec
@@ -483,7 +483,7 @@ def _query_on_allowed_values(
483483 ) -> Union [Table , int , str , None ]:
484484 if user_params .print_help :
485485 self ._list_column (user_params .table_name , which_tap = user_params .which_tap )
486- return
486+ return
487487
488488 _raise_if_has_deprecated_keys (user_params .column_filters )
489489
@@ -1155,7 +1155,7 @@ def query_catalogue(self,
11551155 open_form : bool = False ,
11561156 cache : bool = False ,
11571157 ROW_LIMIT : Optional [int ] = None ,
1158- ) -> Union [Table , int , str ]:
1158+ ) -> Union [Table , int , str ]:
11591159 """
11601160 Query catalogue data contained in the ESO archive.
11611161
@@ -1240,4 +1240,5 @@ def query_catalogue(self,
12401240
12411241 return self ._query_on_allowed_values (user_params , which_tap = which_tap )
12421242
1243+
12431244Eso = EsoClass ()
0 commit comments