From 3050db805035c848eba9b87df5f9f32d6358af5e Mon Sep 17 00:00:00 2001 From: lbarraga Date: Fri, 1 Mar 2024 23:42:34 +0100 Subject: [PATCH] Verwijderen JsonRepresentable #27 --- backend/db/implementation/SqlAbstractDAO.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)