Skip to content

Commit 86a352f

Browse files
committed
Fixed mypy error, refs #568
1 parent 0c563e2 commit 86a352f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlite_utils/db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ def create_table(
959959
# Transform table to match the new definition if table already exists:
960960
if self[name].exists():
961961
if ignore:
962-
return self[name]
962+
return cast(Table, self[name])
963963
elif replace:
964964
self[name].drop()
965965
if transform and self[name].exists():

0 commit comments

Comments
 (0)