Skip to content

Commit 61d48ee

Browse files
committed
fix: adds missing module folders
1 parent 05ed615 commit 61d48ee

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

sqlspec/typing.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
# ruff: noqa: PLC2701
12
# pyright: ignore[reportAttributeAccessIssue]
23
from collections.abc import Iterator, Mapping
34
from functools import lru_cache
4-
from typing import TYPE_CHECKING, Annotated, Any, Protocol, TypeAlias
5+
from typing import TYPE_CHECKING, Annotated, Any, Protocol, TypeAlias, _TypedDict # pyright: ignore
56

67
from typing_extensions import TypeVar
78

@@ -105,7 +106,9 @@ def __len__(self) -> int: ...
105106
TupleRow: TypeAlias = "tuple[Any, ...]"
106107
"""Type variable for TupleRow types."""
107108

108-
SupportedSchemaModel: TypeAlias = "DictLike | StructStub | BaseModelStub | DataclassProtocol | AttrsInstanceStub"
109+
SupportedSchemaModel: TypeAlias = (
110+
DictLike | StructStub | BaseModelStub | DataclassProtocol | AttrsInstanceStub | _TypedDict
111+
)
109112
"""Type alias for pydantic or msgspec models.
110113
111114
:class:`msgspec.Struct` | :class:`pydantic.BaseModel` | :class:`DataclassProtocol` | :class:`AttrsInstance`
@@ -147,7 +150,7 @@ def __len__(self) -> int: ...
147150
148151
"""
149152
BulkModelDict: TypeAlias = (
150-
"Sequence[dict[str, Any] | DictLike | StructStub | BaseModelStub | DataclassProtocol | AttrsInstanceStub] | Any"
153+
"Sequence[dict[str, Any] | DictLike | StructStub | BaseModelStub | DataclassProtocol | AttrsInstanceStub ] | Any"
151154
)
152155
"""Type alias for bulk model dictionaries.
153156
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""AioSQLite extension integration tests."""
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""AsyncPG extension integration tests."""
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""SQLite extension integration tests."""

0 commit comments

Comments
 (0)