diff options
author | Julian Berman <Julian@GrayVines.com> | 2022-08-19 13:14:22 +0300 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2022-08-29 12:23:07 +0300 |
commit | 4320a2cb4f0117ddd4d987e8f3d0a60e4e81da21 (patch) | |
tree | 6e0954d8a80a19c83e70075d49c45a4f68db267b /jsonschema | |
parent | 5fe9759e50b40074bbdad0a7280e8fd3ff6a692e (diff) | |
download | jsonschema-4320a2cb4f0117ddd4d987e8f3d0a60e4e81da21.tar.gz |
Of course the tweaked name doesn't work on macOS.
Hopefully this works on both.
Diffstat (limited to 'jsonschema')
-rw-r--r-- | jsonschema/validators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jsonschema/validators.py b/jsonschema/validators.py index af3d2f7..cb46047 100644 --- a/jsonschema/validators.py +++ b/jsonschema/validators.py @@ -1048,8 +1048,8 @@ def validate(instance, schema, cls=None, *args, **kwargs): If you know you have a valid schema already, especially if you intend to validate multiple instances with the same schema, you likely would prefer using the - `jsonschema.Validator.validate` method directly on a specific - validator (e.g. ``Draft20212Validator.validate``). + `jsonschema.protocols.Validator.validate` method directly on a + specific validator (e.g. ``Draft20212Validator.validate``). Arguments: |