From bde874d31c8aa2db5123f11ac919742ba7b1d741 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 19 Aug 2022 18:48:07 +0300 Subject: Wouldn't be complete without refs which fail now only in ReadTheDocs. :/ --- docs/faq.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/faq.rst b/docs/faq.rst index 8eb9adf..ec34f71 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -104,7 +104,7 @@ How do I configure a base URI for $ref resolution using local files? `jsonschema` supports loading schemas from the filesystem. -The most common mistake when configuring a :class:`~jsonschema.RefResolver` +The most common mistake when configuring a `jsonschema.validators.RefResolver` to retrieve schemas from the local filesystem is to give it a base URI which points to a directory, but forget to add a trailing slash. @@ -212,8 +212,8 @@ be valid under the schema.) See the above-linked document for more info on how this works, but basically, it just extends the :kw:`properties` keyword on a -`jsonschema.Draft202012Validator` to then go ahead and update all the -defaults. +`jsonschema.validators.Draft202012Validator` to then go ahead and update +all the defaults. .. note:: -- cgit v1.2.1