Skip to content

Commit

Permalink
fix(models): fix load_default for incident_url
Browse files Browse the repository at this point in the history
  • Loading branch information
gg-mmill committed Oct 14, 2024
1 parent 3c20117 commit 2c10769
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 @@ -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
Expand Down

0 comments on commit 2c10769

Please sign in to comment.