diff --git a/keep/api/core/db.py b/keep/api/core/db.py index 0ae777b2d..9db3e4ffc 100644 --- a/keep/api/core/db.py +++ b/keep/api/core/db.py @@ -37,7 +37,7 @@ from sqlalchemy.dialects.postgresql import insert as pg_insert from sqlalchemy.dialects.sqlite import insert as sqlite_insert from sqlalchemy.exc import IntegrityError, OperationalError -from sqlalchemy.orm import joinedload, selectinload, subqueryload +from sqlalchemy.orm import joinedload, subqueryload from sqlalchemy.sql import exists, expression from sqlmodel import Session, SQLModel, col, or_, select, text