Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
  • Loading branch information
zecakeh committed Apr 16, 2024
1 parent a0aaab0 commit 7edf3b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7edf3b8

Please sign in to comment.