Skip to content

Commit

Permalink
Ugh - could have sworn this was working on Friday.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacemanPaul committed Nov 5, 2023
1 parent 025ead7 commit 79ff588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datacube/utils/documents.py
Expand Up @@ -211,7 +211,7 @@ def doc_reference(path):
if not path.exists():
raise ValueError("Reference not found: %s" % path)
referenced_schema = next(iter(read_documents(path)))[1]
return referenced_schema
return referencing.Resource(referenced_schema, referencing.jsonschema.DRAFT4)

if schema_folder:
registry = referencing.Registry(retrieve=doc_reference)
Expand Down

0 comments on commit 79ff588

Please sign in to comment.