diff --git a/backend/db/implementation/SqlAbstractDAO.py b/backend/db/implementation/SqlAbstractDAO.py index 8a413699..540fbc2b 100644 --- a/backend/db/implementation/SqlAbstractDAO.py +++ b/backend/db/implementation/SqlAbstractDAO.py @@ -1,15 +1,13 @@ from typing import Generic, TypeVar +from pydantic import BaseModel from sqlalchemy import select from sqlalchemy.orm import Session -from pydantic import BaseModel - from db.errors.database_errors import ItemNotFoundError from db.extensions import engine from db.models.models import AbstractModel - T = TypeVar("T", bound=AbstractModel) D = TypeVar("D", bound=BaseModel)