Skip to content

Commit

Permalink
chore: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rajesh-jonnalagadda committed Oct 9, 2024
1 parent 5130224 commit e7afd8e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion keep/api/core/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -3482,7 +3482,6 @@ def get_runbooks_data_for_incident(

sources = []
services = []
severities = []

for provider_type in runbooks_data:
if provider_type:
Expand Down
3 changes: 2 additions & 1 deletion keep/api/models/db/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
from keep.api.core.config import config
from keep.api.models.alert import IncidentSeverity, IncidentStatus
from keep.api.models.db.tenant import Tenant
from keep.api.models.db.runbook import RunbookToIncident
from keep.api.models.db.runbook import RunbookToIncident, Runbook


db_connection_string = config("DATABASE_CONNECTION_STRING", default=None)
logger = logging.getLogger(__name__)
Expand Down
3 changes: 3 additions & 0 deletions keep/api/models/db/runbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
from sqlalchemy.dialects.mysql import DATETIME as MySQL_DATETIME
from sqlalchemy.dialects.mssql import DATETIME2 as MSSQL_DATETIME2
from keep.api.consts import RUNNING_IN_CLOUD_RUN
from sqlalchemy.engine.url import make_url
from keep.api.models.db.alert import Incident



db_connection_string = config("DATABASE_CONNECTION_STRING", default=None)
Expand Down

0 comments on commit e7afd8e

Please sign in to comment.