Skip to content

Commit

Permalink
chore: vilain sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
fspot committed Sep 10, 2024
1 parent c1cc4dc commit f5bf0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toucan_connectors/redshift/redshift_database_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit f5bf0cc

Please sign in to comment.