diff options
author | Aryan Arora <aryanarora.w1@gmail.com> | 2023-03-20 18:44:42 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 18:44:42 +0530 |
commit | 5984889fcf9f408b394f20d7ca8125c992230463 (patch) | |
tree | 51e3868a41b3124c5a4624224cd75fd0a742bb87 | |
parent | 0b64ff485398e2dbe58c078b2eaee56af5944db5 (diff) | |
download | jsonschema-5984889fcf9f408b394f20d7ca8125c992230463.tar.gz |
documentation mistype fix
Draft202012Validator.validate instead of Draft20212Validator.validate
-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 e5b780a..255bdcc 100644 --- a/jsonschema/validators.py +++ b/jsonschema/validators.py @@ -1208,7 +1208,7 @@ def validate(instance, schema, cls=None, *args, **kwargs): # noqa: D417 if you intend to validate multiple instances with the same schema, you likely would prefer using the `jsonschema.protocols.Validator.validate` method directly on a - specific validator (e.g. ``Draft20212Validator.validate``). + specific validator (e.g. ``Draft202012Validator.validate``). Arguments: |