Skip to content

Commit 21f5ece

Browse files
author
Peter Amstutz
committed
When loading input document, use checklinks=False
So it won't fail on URI schemes that schema salad doesn't know about like keep:, s3:, etc
1 parent 1b4e201 commit 21f5ece

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wes_client/util.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ def modify_jsonyaml_paths(jsonyaml_file):
8282
"location": {"@type": "@id"},
8383
"path": {"@type": "@id"}
8484
})
85-
input_dict, _ = loader.resolve_ref(jsonyaml_file)
85+
input_dict, _ = loader.resolve_ref(jsonyaml_file, checklinks=False)
8686
basedir = os.path.dirname(jsonyaml_file)
8787

8888
def fixpaths(d):
89-
"""Make sure all paths have a schema."""
89+
"""Make sure all paths have a URI scheme."""
9090
if isinstance(d, dict):
9191
if "path" in d:
9292
if ":" not in d["path"]:

0 commit comments

Comments
 (0)