mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-20 15:34:08 +02:00
Remove from typing_extensions import Self, refs #842
This commit is contained in:
parent
c9d8a12a7e
commit
cf6a12568b
1 changed files with 1 additions and 3 deletions
|
|
@ -24,8 +24,6 @@ from typing import (
|
||||||
)
|
)
|
||||||
|
|
||||||
from sqlite_fts4 import rank_bm25
|
from sqlite_fts4 import rank_bm25
|
||||||
from typing_extensions import Self
|
|
||||||
|
|
||||||
from sqlite_utils.plugins import ensure_plugins_loaded, pm
|
from sqlite_utils.plugins import ensure_plugins_loaded, pm
|
||||||
|
|
||||||
from .create_table_parser import (
|
from .create_table_parser import (
|
||||||
|
|
@ -637,7 +635,7 @@ class Database:
|
||||||
pm.hook.prepare_connection(conn=self.conn)
|
pm.hook.prepare_connection(conn=self.conn)
|
||||||
self.strict = strict
|
self.strict = strict
|
||||||
|
|
||||||
def __enter__(self) -> Self:
|
def __enter__(self):
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def __exit__(
|
def __exit__(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue