8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fef426 commit e1fe3e0Copy full SHA for e1fe3e0
course_contents/7_second_milestone_project/milestone_2_sql/utils/database.py
@@ -2,7 +2,7 @@
2
3
from utils.database_connection import DatabaseConnection
4
5
-Book = Tuple(int, str, str, int)
+Book = Tuple[int, str, str, int]
6
7
8
def create_book_table() -> None:
@@ -40,4 +40,4 @@ def delete_book(name: str) -> None:
40
with DatabaseConnection('data.db') as connection:
41
cursor = connection.cursor()
42
43
- cursor.execute('DELETE FROM books WHERE name=?', (name,))
+ cursor.execute('DELETE FROM books WHERE name=?', (name,))
0 commit comments