mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
Detect types for sqlite-utils memory CSV, opt out with --no-detect-types - closes #282
This commit is contained in:
parent
fd9867d145
commit
ec5174ed40
4 changed files with 50 additions and 15 deletions
|
|
@ -147,6 +147,7 @@ def rows_from_file(
|
|||
format=None,
|
||||
dialect=None,
|
||||
encoding=None,
|
||||
detect_types=False,
|
||||
) -> Generator[dict, None, None]:
|
||||
if format == Format.JSON:
|
||||
decoded = json.load(fp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue