sqlite-utils/sqlite_utils
beejak a6b3812fc7 fix(cli): skip transform when table missing after header-only CSV (fixes #702)
insert_upsert_implementation and memory multi-file import call
Table.transform() after TypeTracker runs. For a CSV with only a header row,
insert_all yields no rows and may not create the table; transform() then
asserted. Only run transform when the table exists.

Covers both the insert command path and the memory command path.

Made-with: Cursor
2026-04-21 22:33:20 +05:30
..
__init__.py prepare_connection plugin hook 2023-07-22 15:59:08 -07:00
__main__.py Support 'python -m sqlite_utils', closes #368 2022-01-08 18:33:22 -08:00
cli.py fix(cli): skip transform when table missing after header-only CSV (fixes #702) 2026-04-21 22:33:20 +05:30
db.py More type annotations (#697) 2025-12-16 22:11:47 -08:00
hookspecs.py More type annotations (#697) 2025-12-16 22:11:47 -08:00
plugins.py More type annotations (#697) 2025-12-16 22:11:47 -08:00
py.typed py.typed file so mypy picks up the types, closes #331 2021-11-14 15:21:04 -08:00
recipes.py More type annotations (#697) 2025-12-16 22:11:47 -08:00
utils.py More type annotations (#697) 2025-12-16 22:11:47 -08:00