mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-10-23 17:57:03 +02:00
Fix CSV dialect class type support
This commit is contained in:
parent
85fe3c3407
commit
fb53549500
2 changed files with 14 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import csv
|
||||
from typing import Any, Sequence, TextIO, Union
|
||||
from typing import Any, Sequence, TextIO, Type, Union
|
||||
|
||||
CsvDialect = Union[str, csv.Dialect]
|
||||
CsvDialect = Union[str, csv.Dialect, Type[csv.Dialect]]
|
||||
|
||||
|
||||
def rows_to_csv_file(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue