Skip to content

Commit

Permalink
fix(typing): # We add info as a possible value for Severity. This cou…
Browse files Browse the repository at this point in the history
…ld cause a crash on some incidents
  • Loading branch information
pierrelalanne committed Nov 6, 2024
1 parent a03cb02 commit fda11c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygitguardian/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ class Detector(Base, FromDictMixin):
detector_group_display_name: str


Severity = Literal["low", "medium", "high", "critical", "unknown"]
Severity = Literal["info", "low", "medium", "high", "critical", "unknown"]
ValidityStatus = Literal["valid", "invalid", "failed_to_check", "no_checker", "unknown"]
IncidentStatus = Literal["IGNORED", "TRIGGERED", "RESOLVED", "ASSIGNED"]
Tag = Literal[
Expand Down

0 comments on commit fda11c7

Please sign in to comment.