models: big refactor

This commit is contained in:
Iain Learmonth 2022-04-22 14:01:16 +01:00
parent 86c3683ad6
commit 2674e115f3
22 changed files with 284 additions and 266 deletions

View file

@ -1,7 +1,7 @@
import datetime
from app.extensions import db
from app.models import Alarm
from app.models.alarms import Alarm
def _get_alarm(target: str,