From 3ad00543c3ec49c5aad14f2a452184133150d048 Mon Sep 17 00:00:00 2001 From: Marc Sune Date: Wed, 12 Jun 2024 23:48:23 +0200 Subject: [PATCH] Tc --- src/routes/turnilo_dashboard_routes.py | 2 +- src/services/turnilo_dashboards.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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