summaryrefslogtreecommitdiff
path: root/docs/errors.rst
Commit message (Collapse)AuthorAgeFilesLines
* Three more exception-related deprecations.Julian Berman2023-02-231-0/+1
| | | | | | | | | | | | | * RefResolutionError is deprecated entirely. Use referencing.Registry-based APIs, and catch referencing.exceptions.Unresolvable if you really want to ignore referencing related issues. * FormatError should now be imported from jsonschema.exceptions only, not from the package root. * ErrorTree should now be imported from jsonschema.exceptions only, not from the package root.
* Experiment with autoapi for generating explicit API documentation.Julian Berman2022-08-291-0/+6
| | | | Ref: #590
* Prefer 'keyword' over 'validator' in docs.Julian Berman2022-08-161-29/+28
| | | | | | | | | | | | | | In newer JSON Schema specifications we've standardized more on this language rather than calling things validators (and such a thing already has plenty of overloaded meaning here). This commit doesn't do any deprecation, so there's still some awkwardness in that ValidationError.validator is the keyword which failed validation, and Validator.VALIDATORS is a mapping of keywords to callables. We may choose to do so later, but for now will save some API churn in case something else changes.
* Update doc examples to use newer drafts' validators.Julian Berman2022-08-021-6/+6
| | | | | Obviously what was here works fine, but better to show the examples with a more recent spec.
* Apply suggestions from code reviewStephen Rosen2021-12-131-1/+1
| | | | | | Primarily, rewrite `IValidator` to `Validator` Co-authored-by: Julian Berman <Julian@GrayVines.com>
* Add `jsonschema.protocols.IValidator`Stephen Rosen2021-12-131-1/+1
| | | | | | | | | | | | | | | | This is a Protocol implementation for type checking under mypy and other static analyzers. It uses the protocol class defined in py3.8+ and uses typing_extensions as a backport for py3.7 The documentation-only validator class has been replaced with the protocol, and docs are now driven via autoclass on the protocol. Importantly, several documented methods of the class have been removed, as they were marked deprecated under jsonschema v3.0 and are no longer provided by the builtin validators. Minor adjustments to the docs are made to repoint references at the new class definition.
* Fix the broken reST.Julian Berman2020-05-081-1/+1
|
* add json_path error attributeDamien Tardy-Panis2020-02-241-1/+8
|
* Doc stylin.Julian Berman2019-09-031-46/+0
|
* Bump to Sphinx2 for docs, fixing random nonsense along the way.Julian Berman2019-08-041-1/+1
|
* First step on Draft7 support.Julian Berman2018-09-301-4/+4
| | | | | Add everything that's the same in Draft6, which appears to just leave out if/then/else.
* HTTPS (almost) everywhere.Julian Berman2018-09-291-1/+1
|
* Draft 6 for docs.Julian Berman2018-05-031-4/+4
|
* Undo Napoleon in the reST files.Julian Berman2017-12-281-31/+18
| | | | Let's see what https://github.com/sphinx-doc/sphinx/issues/4345 turns up.
* More napoleonizing.Julian Berman2017-12-241-18/+31
|
* :mod: / :exc: / :meth:Julian Berman2017-12-241-5/+8
|
* :func:Julian Berman2017-12-241-4/+4
|
* :attr:Julian Berman2017-12-241-22/+22
|
* :class:esJulian Berman2017-12-241-17/+17
|
* Apparently some links have changed.Julian Berman2017-12-241-1/+1
|
* SpellingJulian Berman2017-12-241-2/+2
|
* And now fix all the broken refs.Julian Berman2017-12-241-17/+20
| | | | I have no idea how these were broken.
* Try to be as explicit as possible on the million different uses of 'validator'.Julian Berman2014-12-071-25/+30
| | | | Closes #175.
* Fix the doctestJulian Berman2014-01-051-1/+1
|
* Add absolute path and absolute schema path.Julian Berman2013-12-251-4/+33
| | | | Closes #120
* Add `relevance`, hopefully less confusing to directly use than by_relevance().Julian Berman2013-12-241-16/+33
|
* Fight with sphinx typos.Julian Berman2013-11-021-1/+1
|
* Fight with sphinx.Julian Berman2013-11-021-16/+17
|
* And docs for the arguments.best-matchJulian Berman2013-10-271-0/+8
|
* And add by_relevance docs.Julian Berman2013-10-271-3/+30
|
* Update best_match docs.Julian Berman2013-10-271-2/+20
|
* Initial stab at best_match.Julian Berman2013-10-271-0/+31
|
* Tables are good maybe.Julian Berman2013-06-021-0/+20
|
* Forgot one.Julian Berman2013-05-201-0/+5
|
* Add some more docstrings to ErrorTreeJulian Berman2013-05-201-0/+2
|
* Fix doctests.Julian Berman2013-04-201-55/+72
|
* Merge remote-tracking branch 'gazpachoking/better_error_messages'Julian Berman2013-04-191-4/+17
|\
| * Update errors.rst for error printing changeChase Sterling2013-04-161-4/+17
| | | | | | | | Fix some other small errors for doctests
* | Add a JSON Schema documentation role.Julian Berman2013-04-171-27/+29
|/
* TypoJulian Berman2013-04-111-1/+1
|
* Undeprecate and switch back to validator, to reduce annoyance.Julian Berman2013-04-111-1/+1
|
* Fix path wordingJulian Berman2013-04-101-1/+1
|
* Clarify instance attribute.Julian Berman2013-04-101-1/+6
|
* More doc tidying.Julian Berman2013-04-091-31/+33
|
* More wording.Julian Berman2013-04-091-4/+14
|
* Use python 3 style prints in docsChase Sterling2013-04-071-4/+4
|
* Add missing paren in docsChase Sterling2013-04-071-1/+1
|
* Don't rely on hash sorting for docs examplesChase Sterling2013-04-051-2/+2
|
* Add example of using the ValidationError attributesChase Sterling2013-04-041-0/+64
|
* Update the docs for ValidationError with the new attributesChase Sterling2013-04-011-1/+24
|