Skip to content

Commit a73a5d3

Browse files
committed
[FIX] Issue with and_ conditions in alerts
1 parent 9cf050c commit a73a5d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/app/datamgmt/alerts/alerts_db.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
from datetime import datetime, timedelta
2222
from flask_login import current_user
2323
from functools import reduce
24-
from operator import and_
25-
from sqlalchemy import desc, asc, func, tuple_, or_, not_
24+
from sqlalchemy import desc, asc, func, tuple_, or_, not_, and_
2625
from sqlalchemy.orm import aliased, make_transient, selectinload
2726
from typing import List, Tuple, Dict
2827

0 commit comments

Comments
 (0)