From 2c107695efb03aae8afe51474a7714db55ee92de Mon Sep 17 00:00:00 2001 From: Mathias Millet Date: Mon, 14 Oct 2024 09:46:53 +0200 Subject: [PATCH] fix(models): fix load_default for incident_url --- pygitguardian/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygitguardian/models.py b/pygitguardian/models.py index 0d8b419..9e3b53a 100644 --- a/pygitguardian/models.py +++ b/pygitguardian/models.py @@ -260,7 +260,7 @@ class PolicyBreakSchema(BaseSchema): policy = fields.String(required=True) validity = fields.String(required=False, load_default=None, dump_default=None) known_secret = fields.Boolean(required=False, load_default=False, dump_default=None) - incident_url = fields.String(required=False, load_default=False, dump_default=None) + incident_url = fields.String(required=False, load_default=None, dump_default=None) matches = fields.List(fields.Nested(MatchSchema), required=True) @post_load