diff --git a/source/app/datamgmt/alerts/alerts_db.py b/source/app/datamgmt/alerts/alerts_db.py index 6d84d747c..d91186fa5 100644 --- a/source/app/datamgmt/alerts/alerts_db.py +++ b/source/app/datamgmt/alerts/alerts_db.py @@ -21,8 +21,7 @@ from datetime import datetime, timedelta from flask_login import current_user from functools import reduce -from operator import and_ -from sqlalchemy import desc, asc, func, tuple_, or_, not_ +from sqlalchemy import desc, asc, func, tuple_, or_, not_, and_ from sqlalchemy.orm import aliased, make_transient, selectinload from typing import List, Tuple, Dict