diff options
author | Julian Berman <Julian@GrayVines.com> | 2023-03-23 14:54:18 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2023-03-23 14:54:18 -0400 |
commit | 073070019681c483359d54904ce7ec3496088161 (patch) | |
tree | 040b97a4bb5cbd30e6372e08ba7bebef676d994a | |
parent | 529b57aefb4810866c3de0750349fb227fac816e (diff) | |
download | jsonschema-073070019681c483359d54904ce7ec3496088161.tar.gz |
Always pass a URI to referencing.jsonschema.specification_with.
(This could previously be None incorrectly).
-rw-r--r-- | jsonschema/validators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonschema/validators.py b/jsonschema/validators.py index 255bdcc..23ea17c 100644 --- a/jsonschema/validators.py +++ b/jsonschema/validators.py @@ -183,7 +183,7 @@ def create( format_checker_arg = format_checker specification = referencing.jsonschema.specification_with( - dialect_id=id_of(meta_schema), + dialect_id=id_of(meta_schema) or "urn:unknown-dialect", default=Specification.OPAQUE, ) |