Skip to content

Commit

Permalink
style(database): fix type function type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
rluzuriaga committed Nov 25, 2024
1 parent ca1e12e commit 6e19fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opendriverstudio/database/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def insert_into_drivers_table(self, data: dict[str, Any]) -> None:
except (sqlite3.OperationalError, sqlite3.IntegrityError) as e:
raise DatabaseInsertionError(f"Error inserting data into table 'drivers': {e}") from e

def select_all_from_drivers_table(self) -> list:
def select_all_from_drivers_table(self) -> list[tuple[int, str, str, str, str]]:
sql_query = "SELECT * FROM drivers"

with self._get_db_connection() as conn:
Expand Down

0 comments on commit 6e19fd5

Please sign in to comment.