Improve docs

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2024-04-16 17:14:50 +02:00
parent a0aaab0099
commit 7edf3b8ef4
No known key found for this signature in database
GPG key ID: 29A48C1F03620416

View file

@ -88,7 +88,8 @@ def load_file_from_uri(path):
return yaml.safe_load(f)
def load_resource_from_uri(path):
"""Load a JSON or YAML JSON Schema from a file:// URI.
"""Load a JSON or YAML JSON Schema, as a `referencing.Resource` object, from
a file:// URI.
"""
contents = load_file_from_uri(path)
resource = referencing.Resource(