Skip to content

Commit fda11c7

Browse files
committed
fix(typing): # We add info as a possible value for Severity. This could cause a crash on some incidents
1 parent a03cb02 commit fda11c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygitguardian/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ class Detector(Base, FromDictMixin):
812812
detector_group_display_name: str
813813

814814

815-
Severity = Literal["low", "medium", "high", "critical", "unknown"]
815+
Severity = Literal["info", "low", "medium", "high", "critical", "unknown"]
816816
ValidityStatus = Literal["valid", "invalid", "failed_to_check", "no_checker", "unknown"]
817817
IncidentStatus = Literal["IGNORED", "TRIGGERED", "RESOLVED", "ASSIGNED"]
818818
Tag = Literal[

0 commit comments

Comments
 (0)