Skip to content
Snippets Groups Projects
Commit bd4696f0 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

MAINT: Remove now unused type check

parent 2f39ef7b
No related branches found
No related tags found
2 merge requests!73MAINT: change wording of TableImporter argument and allow converters and...,!72Extend json-schema model parser
Pipeline #36861 passed
...@@ -792,9 +792,6 @@ class JsonSchemaParser(Parser): ...@@ -792,9 +792,6 @@ class JsonSchemaParser(Parser):
ent = self._treat_record_type(elt, name) ent = self._treat_record_type(elt, name)
elif elt["type"] == "array": elif elt["type"] == "array":
ent, force_list = self._treat_list(elt, name) ent, force_list = self._treat_list(elt, name)
elif elt["type"] == "null":
# null
return None, force_list
else: else:
raise NotImplementedError( raise NotImplementedError(
f"Cannot parse items of type '{elt['type']}' (yet).") f"Cannot parse items of type '{elt['type']}' (yet).")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment