mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-12 19:44:13 +02:00
Fix type errors in cli.py and db.py
- Add type annotation for Database.conn to fix context manager errors - Convert exception objects to str() when raising ClickException - Handle None return from find_spatialite() with proper error message 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
116cc99791
commit
29842be858
2 changed files with 8 additions and 4 deletions
|
|
@ -328,6 +328,7 @@ class Database:
|
|||
|
||||
_counts_table_name = "_counts"
|
||||
use_counts_table = False
|
||||
conn: sqlite3.Connection
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue