diff --git a/toucan_connectors/redshift/redshift_database_connector.py b/toucan_connectors/redshift/redshift_database_connector.py index e1bedb334..4be55459c 100644 --- a/toucan_connectors/redshift/redshift_database_connector.py +++ b/toucan_connectors/redshift/redshift_database_connector.py @@ -418,7 +418,7 @@ def _list_db_names(self) -> list[str]: ) return [db_name for (db_name,) in cursor.fetchall()] - def _list_tables_info(self, database: str) -> list[tuple]: + def _list_tables_info(self, database: str) -> list[tuple]: # pragma: no cover with self._get_connection(database=database).cursor() as cursor: cursor.execute(build_database_model_extraction_query()) return cursor.fetchall()