Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/strawchemy/validation/pydantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from typing import TYPE_CHECKING, Any, ClassVar

from pydantic import ValidationError
from sqlalchemy.orm import DeclarativeBase
from typing_extensions import override

from strawchemy.dto.backend.pydantic import MappedPydanticDTO, PydanticDTOBackend
Expand Down
2 changes: 2 additions & 0 deletions tests/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
if TYPE_CHECKING:
from sqlalchemy.orm import DeclarativeBase, QueryableAttribute
from strawberry.types.execution import ExecutionResult
from strawchemy.dto.backend.pydantic import MappedPydanticDTO
from strawchemy.dto.base import DTOFactory

from strawchemy.dto.backend.pydantic import MappedPydanticDTO
from strawchemy.dto.base import DTOFactory
Expand Down
Loading