Skip to content

Commit cf1b407

Browse files
authored
Add a type hint for db.close() (#663)
Closes #662
1 parent 094b010 commit cf1b407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlite_utils/db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def __init__(
369369
pm.hook.prepare_connection(conn=self.conn)
370370
self.strict = strict
371371

372-
def close(self):
372+
def close(self) -> None:
373373
"Close the SQLite connection, and the underlying database file"
374374
self.conn.close()
375375

0 commit comments

Comments
 (0)