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 290ad27 commit 54ffa9cCopy full SHA for 54ffa9c
sqlite_utils/db.py
@@ -3666,7 +3666,7 @@ def m2m(
3666
already exists.
3667
"""
3668
if isinstance(other_table, str):
3669
- other_table = self.db.table(other_table, pk=pk)
+ other_table = cast(Table, self.db.table(other_table, pk=pk))
3670
our_id = self.last_pk
3671
if lookup is not None:
3672
assert record_or_iterable is None, "Provide lookup= or record, not both"
0 commit comments