feat: use custom type to handle existing naive datetimes

This commit is contained in:
Iain Learmonth 2024-12-06 18:02:59 +00:00
parent e22abb383c
commit 39bdac1ecf
45 changed files with 210 additions and 84 deletions

View file

@ -1,4 +1,4 @@
from typing import Tuple, Optional
from typing import Optional, Tuple
import boto3
from sqlalchemy import func
@ -6,8 +6,8 @@ from sqlalchemy import func
from app import app
from app.alarms import get_or_create_alarm
from app.extensions import db
from app.models.base import Group
from app.models.alarms import AlarmState
from app.models.base import Group
from app.models.mirrors import SmartProxy
from app.terraform import BaseAutomation