This commit is contained in:
2026-05-17 20:54:53 +05:00
parent 65a0babeab
commit 27eb4fd606
90 changed files with 12343 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
from __future__ import annotations
from datetime import datetime
from pydantic import BaseModel
class AlertOut(BaseModel):
id: int
severity: str
category: str
source: str | None = None
title: str
message: str | None = None
acknowledged: bool
created_at: datetime
class Config:
from_attributes = True