diff --git a/changelog.d/20241107_113401_pierrelalanne_fix_typing_issue_on_severity.md b/changelog.d/20241107_113401_pierrelalanne_fix_typing_issue_on_severity.md new file mode 100644 index 00000000..ed2041f1 --- /dev/null +++ b/changelog.d/20241107_113401_pierrelalanne_fix_typing_issue_on_severity.md @@ -0,0 +1,41 @@ + + + + + + + +### Fixed + +- Add missing value "info" to Severity model (#120). + + diff --git a/pygitguardian/models.py b/pygitguardian/models.py index bc10c4d3..a826c922 100644 --- a/pygitguardian/models.py +++ b/pygitguardian/models.py @@ -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[