Skip to content

Commit

Permalink
Make archaeology date start optional (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejimsan authored Nov 15, 2024
1 parent 60feb88 commit 64645ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebl/fragmentarium/application/date_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def remove_empty_fields(self, data: dict, **kwargs):


class DateRangeSchema(Schema):
start = fields.Nested(PartialDateSchema, required=True)
start = fields.Nested(PartialDateSchema, allow_none=True)
end = fields.Nested(PartialDateSchema, allow_none=True)
notes = fields.String(allow_none=True)

Expand Down

0 comments on commit 64645ed

Please sign in to comment.