diff --git a/src/routes/turnilo_dashboard_routes.py b/src/routes/turnilo_dashboard_routes.py index 2dcce71..cbd8a66 100644 --- a/src/routes/turnilo_dashboard_routes.py +++ b/src/routes/turnilo_dashboard_routes.py @@ -1,7 +1,7 @@ import re from fastapi import APIRouter, Depends, HTTPException, Query from typing import List -from sqlalchemy.orm import Session +from sqlmodel import Session from models.turnilo_dashboard import TurniloDashboard from services import turnilo_dashboards as td diff --git a/src/services/turnilo_dashboards.py b/src/services/turnilo_dashboards.py index 790a8ca..e073011 100644 --- a/src/services/turnilo_dashboards.py +++ b/src/services/turnilo_dashboards.py @@ -1,5 +1,5 @@ from typing import List -from sqlalchemy.orm import Session +from sqlmodel import Session from sqlalchemy import exc from models.turnilo_dashboard import TurniloDashboard from fastapi import HTTPException