Skip to content

Commit 54ffa9c

Browse files
committed
mypy fix
1 parent 290ad27 commit 54ffa9c

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
@@ -3666,7 +3666,7 @@ def m2m(
36663666
already exists.
36673667
"""
36683668
if isinstance(other_table, str):
3669-
other_table = self.db.table(other_table, pk=pk)
3669+
other_table = cast(Table, self.db.table(other_table, pk=pk))
36703670
our_id = self.last_pk
36713671
if lookup is not None:
36723672
assert record_or_iterable is None, "Provide lookup= or record, not both"

0 commit comments

Comments
 (0)