Skip to content

Commit

Permalink
Solution
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksandrMoroz24 committed Sep 6, 2023
1 parent b4e8f09 commit a6e6a6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ def __init__(self) -> None:

def create(self, first_name: str, last_name: str) -> None:
self._connection.execute(
f"INSERT INTO {self.table_name} (first_name, last_name) VALUES (?, ?)", (first_name, last_name)
f"INSERT INTO {self.table_name}"
f"(first_name, last_name) VALUES (?, ?)",
(first_name, last_name)
)
self._connection.commit()

Expand Down

0 comments on commit a6e6a6d

Please sign in to comment.