Remove check

merge-requests/8/head
Bob Mottram 2021-01-03 18:29:12 +00:00
parent b0eaa6835d
commit adebd3c3bd
1 changed files with 0 additions and 7 deletions

View File

@ -1016,13 +1016,6 @@ class JsonLdProcessor(object):
'Could not convert input to RDF dataset before normalization.', 'Could not convert input to RDF dataset before normalization.',
'jsonld.NormalizeError', cause=cause) 'jsonld.NormalizeError', cause=cause)
# check that the data is not empty
if '@default' in dataset:
if not dataset['@default']:
raise JsonLdError(
'Could not convert input to RDF dataset.',
'jsonld.NormalizeError', cause=None)
# do normalization # do normalization
return self._normalize(dataset, options) return self._normalize(dataset, options)