[sqlite3] Fix type of row_factory for Connection and Cursor (#15316)

This commit is contained in:
Til Boerner
2026-01-23 14:39:04 +01:00
committed by GitHub
parent 42f7953e7f
commit 65ae6a2ebf
+1 -1
View File
@@ -222,7 +222,7 @@ _AdaptedInputData: TypeAlias = _SqliteData | Any
_Parameters: TypeAlias = SupportsLenAndGetItem[_AdaptedInputData] | Mapping[str, _AdaptedInputData]
# Controls the legacy transaction handling mode of sqlite3.
_IsolationLevel: TypeAlias = Literal["DEFERRED", "EXCLUSIVE", "IMMEDIATE"] | None
_RowFactoryOptions: TypeAlias = type[Row] | Callable[[Cursor, Row], object] | None
_RowFactoryOptions: TypeAlias = type[Row] | Callable[[Cursor, tuple[Any, ...]], object] | None
@type_check_only
class _AnyParamWindowAggregateClass(Protocol):