mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-20 07:24:23 +02:00
mypy fix
This commit is contained in:
parent
290ad27d40
commit
54ffa9c508
1 changed files with 1 additions and 1 deletions
|
|
@ -3666,7 +3666,7 @@ class Table(Queryable):
|
||||||
already exists.
|
already exists.
|
||||||
"""
|
"""
|
||||||
if isinstance(other_table, str):
|
if isinstance(other_table, str):
|
||||||
other_table = self.db.table(other_table, pk=pk)
|
other_table = cast(Table, self.db.table(other_table, pk=pk))
|
||||||
our_id = self.last_pk
|
our_id = self.last_pk
|
||||||
if lookup is not None:
|
if lookup is not None:
|
||||||
assert record_or_iterable is None, "Provide lookup= or record, not both"
|
assert record_or_iterable is None, "Provide lookup= or record, not both"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue