From 7edf3b8ef4e352d33e01abfc311592f40cbef968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 16 Apr 2024 17:14:50 +0200 Subject: [PATCH] Improve docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- scripts/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/helpers.py b/scripts/helpers.py index 2ad69674..a30b2831 100755 --- a/scripts/helpers.py +++ b/scripts/helpers.py @@ -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(