Skip to content

Commit 8095646

Browse files
committed
Update type hints in core.py for consistency and clarity
Signed-off-by: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
1 parent a61a206 commit 8095646

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

simplesqlite/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from collections import OrderedDict, defaultdict
1010
from collections.abc import Sequence
1111
from sqlite3 import Connection, Cursor
12-
from typing import TYPE_CHECKING, Any, Callable, Final, List, Optional, Union, cast
12+
from typing import TYPE_CHECKING, Any, Callable, Final, Optional, Union, cast
1313

1414
import pathvalidate
1515
import typepy
@@ -512,7 +512,7 @@ def select_as_dict(
512512
columns: Optional[Sequence[str]] = None,
513513
where: Optional[WhereQuery] = None,
514514
extra: Optional[str] = None,
515-
) -> "Optional[List[OrderedDict[str, Any]]]":
515+
) -> Optional[list[OrderedDict[str, Any]]]:
516516
"""
517517
Get data in the database and return fetched data as a
518518
|OrderedDict| list.

0 commit comments

Comments
 (0)