Skip to content

Commit

Permalink
fix: import for type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiryous committed Oct 21, 2024
1 parent 83d50b3 commit 03e97fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion keep/api/models/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import logging
import uuid
from enum import Enum
from typing import Any, Dict, List, Optional
from typing import Any, Dict, List, Optional, TYPE_CHECKING
from uuid import UUID

import pytz
Expand All @@ -19,6 +19,9 @@
from sqlalchemy import desc
from sqlmodel import col

if TYPE_CHECKING:
from keep.api.models.db.alert import Incident

logger = logging.getLogger(__name__)


Expand Down

0 comments on commit 03e97fa

Please sign in to comment.