Improve docs

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
pull/1786/head
Kévin Commaille 1 month ago
parent a0aaab0099
commit 7edf3b8ef4
No known key found for this signature in database
GPG Key ID: 29A48C1F03620416

@ -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(

Loading…
Cancel
Save