Skip to content

Commit

Permalink
Update keep/api/core/db.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kirill Chernakov <[email protected]>
Signed-off-by: Vladimir Filonov <[email protected]>
  • Loading branch information
VladimirFilonov and Kiryous authored Nov 21, 2024
1 parent 030732b commit 7db708b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keep/api/core/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -4491,7 +4491,7 @@ def get_resource_ids_by_resource_type(

def get_last_alert_by_fingerprint(
tenant_id: str, fingerprint: str, session: Optional[Session] = None
) -> Optional[Alert]:
) -> Optional[LastAlert]:
with existed_or_new_session(session) as session:
return session.exec(
select(LastAlert)
Expand Down

0 comments on commit 7db708b

Please sign in to comment.