mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-08-14 13:24:11 +02:00
Fix for sqlite-utils 4.2 crashing bug (#843)
- Remove from typing_extensions import Self - Smoke test: uv run --no-default-groups sqlite-utils --help Closes #842
This commit is contained in:
parent
1d98613f28
commit
f6d73112c8
2 changed files with 6 additions and 3 deletions
|
|
@ -24,8 +24,6 @@ from typing import (
|
|||
)
|
||||
|
||||
from sqlite_fts4 import rank_bm25
|
||||
from typing_extensions import Self
|
||||
|
||||
from sqlite_utils.plugins import ensure_plugins_loaded, pm
|
||||
|
||||
from .create_table_parser import (
|
||||
|
|
@ -637,7 +635,7 @@ class Database:
|
|||
pm.hook.prepare_connection(conn=self.conn)
|
||||
self.strict = strict
|
||||
|
||||
def __enter__(self) -> Self:
|
||||
def __enter__(self):
|
||||
return self
|
||||
|
||||
def __exit__(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue