Skip to content
Snippets Groups Projects
Commit 17f327b9 authored by anonymous's avatar anonymous
Browse files

temporal_end is optional in schema

parent abfaad96
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,8 @@ def odsh_validate_extra_date(key, field, data, errors, context):
value = _extract_value(data, field)
if not value:
if field == 'temporal_end':
return # temporal_end is optional
# Statistikamt Nord does not always provide temporal_start/end,
# but their datasets have to be accepted as they are.
if not ('id',) in data or data[('id',)][:7] != 'StaNord':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment