🩹 — Update pydantic schema for alerts

This commit is contained in:
Luc Didry 2023-12-07 07:35:53 +01:00
parent cbc75c710c
commit 3600c2b4f7

View file

@ -96,9 +96,10 @@ class Service(BaseModel):
class Alert(BaseModel):
"""List of way to handle alerts, by severity"""
error: List[str]
ok: List[str]
warning: List[str]
alert: List[str]
critical: List[str]
unknown: List[str]
class General(BaseModel):