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 975b6c6 commit a186c13Copy full SHA for a186c13
sqlite_utils/db.py
@@ -31,6 +31,7 @@
31
Dict,
32
Generator,
33
Iterable,
34
+ Sequence,
35
Union,
36
Optional,
37
List,
@@ -3321,7 +3322,10 @@ def insert(
3321
3322
3323
def insert_all(
3324
self,
- records,
3325
+ records: Union[
3326
+ Iterable[Dict[str, Any]],
3327
+ Iterable[Sequence[Any]],
3328
+ ],
3329
pk=DEFAULT,
3330
foreign_keys=DEFAULT,
3331
column_order=DEFAULT,
@@ -3576,7 +3580,10 @@ def upsert(
3576
3580
3577
3581
def upsert_all(
3578
3582
3579
3583
3584
3585
3586
3587
3588
3589
0 commit comments