Skip to content

Commit ea9394c

Browse files
authored
Merge pull request #143 from OpenDataServices/356-end-to-end-tests
356 end to end tests
2 parents e379634 + 5afc95a commit ea9394c

File tree

3 files changed

+1063
-28
lines changed

3 files changed

+1063
-28
lines changed

flattentool/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def parse_schema_dict(self, parent_path, schema_dict, parent_id_fields=None, tit
204204
if missedRollUp:
205205
warn('{} in rollUp but not in schema'.format(', '.join(missedRollUp)))
206206
else:
207-
raise ValueError
207+
raise ValueError('Unknown type_set: {}, did you forget to explicity set the "type" key on "items"?'.format(type_set))
208208
elif 'string' in property_type_set or not property_type_set:
209209
self.flattened[parent_path.replace('/0/', '/')+property_name] = "string"
210210
yield property_name, title

0 commit comments

Comments
 (0)