Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Three more exception-related deprecations. | Julian Berman | 2023-02-23 | 1 | -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 Berman | 2022-08-29 | 1 | -0/+6 |
| | | | | Ref: #590 | ||||
* | Prefer 'keyword' over 'validator' in docs. | Julian Berman | 2022-08-16 | 1 | -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 Berman | 2022-08-02 | 1 | -6/+6 |
| | | | | | Obviously what was here works fine, but better to show the examples with a more recent spec. | ||||
* | Apply suggestions from code review | Stephen Rosen | 2021-12-13 | 1 | -1/+1 |
| | | | | | | Primarily, rewrite `IValidator` to `Validator` Co-authored-by: Julian Berman <Julian@GrayVines.com> | ||||
* | Add `jsonschema.protocols.IValidator` | Stephen Rosen | 2021-12-13 | 1 | -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 Berman | 2020-05-08 | 1 | -1/+1 |
| | |||||
* | add json_path error attribute | Damien Tardy-Panis | 2020-02-24 | 1 | -1/+8 |
| | |||||
* | Doc stylin. | Julian Berman | 2019-09-03 | 1 | -46/+0 |
| | |||||
* | Bump to Sphinx2 for docs, fixing random nonsense along the way. | Julian Berman | 2019-08-04 | 1 | -1/+1 |
| | |||||
* | First step on Draft7 support. | Julian Berman | 2018-09-30 | 1 | -4/+4 |
| | | | | | Add everything that's the same in Draft6, which appears to just leave out if/then/else. | ||||
* | HTTPS (almost) everywhere. | Julian Berman | 2018-09-29 | 1 | -1/+1 |
| | |||||
* | Draft 6 for docs. | Julian Berman | 2018-05-03 | 1 | -4/+4 |
| | |||||
* | Undo Napoleon in the reST files. | Julian Berman | 2017-12-28 | 1 | -31/+18 |
| | | | | Let's see what https://github.com/sphinx-doc/sphinx/issues/4345 turns up. | ||||
* | More napoleonizing. | Julian Berman | 2017-12-24 | 1 | -18/+31 |
| | |||||
* | :mod: / :exc: / :meth: | Julian Berman | 2017-12-24 | 1 | -5/+8 |
| | |||||
* | :func: | Julian Berman | 2017-12-24 | 1 | -4/+4 |
| | |||||
* | :attr: | Julian Berman | 2017-12-24 | 1 | -22/+22 |
| | |||||
* | :class:es | Julian Berman | 2017-12-24 | 1 | -17/+17 |
| | |||||
* | Apparently some links have changed. | Julian Berman | 2017-12-24 | 1 | -1/+1 |
| | |||||
* | Spelling | Julian Berman | 2017-12-24 | 1 | -2/+2 |
| | |||||
* | And now fix all the broken refs. | Julian Berman | 2017-12-24 | 1 | -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 Berman | 2014-12-07 | 1 | -25/+30 |
| | | | | Closes #175. | ||||
* | Fix the doctest | Julian Berman | 2014-01-05 | 1 | -1/+1 |
| | |||||
* | Add absolute path and absolute schema path. | Julian Berman | 2013-12-25 | 1 | -4/+33 |
| | | | | Closes #120 | ||||
* | Add `relevance`, hopefully less confusing to directly use than by_relevance(). | Julian Berman | 2013-12-24 | 1 | -16/+33 |
| | |||||
* | Fight with sphinx typos. | Julian Berman | 2013-11-02 | 1 | -1/+1 |
| | |||||
* | Fight with sphinx. | Julian Berman | 2013-11-02 | 1 | -16/+17 |
| | |||||
* | And docs for the arguments.best-match | Julian Berman | 2013-10-27 | 1 | -0/+8 |
| | |||||
* | And add by_relevance docs. | Julian Berman | 2013-10-27 | 1 | -3/+30 |
| | |||||
* | Update best_match docs. | Julian Berman | 2013-10-27 | 1 | -2/+20 |
| | |||||
* | Initial stab at best_match. | Julian Berman | 2013-10-27 | 1 | -0/+31 |
| | |||||
* | Tables are good maybe. | Julian Berman | 2013-06-02 | 1 | -0/+20 |
| | |||||
* | Forgot one. | Julian Berman | 2013-05-20 | 1 | -0/+5 |
| | |||||
* | Add some more docstrings to ErrorTree | Julian Berman | 2013-05-20 | 1 | -0/+2 |
| | |||||
* | Fix doctests. | Julian Berman | 2013-04-20 | 1 | -55/+72 |
| | |||||
* | Merge remote-tracking branch 'gazpachoking/better_error_messages' | Julian Berman | 2013-04-19 | 1 | -4/+17 |
|\ | |||||
| * | Update errors.rst for error printing change | Chase Sterling | 2013-04-16 | 1 | -4/+17 |
| | | | | | | | | Fix some other small errors for doctests | ||||
* | | Add a JSON Schema documentation role. | Julian Berman | 2013-04-17 | 1 | -27/+29 |
|/ | |||||
* | Typo | Julian Berman | 2013-04-11 | 1 | -1/+1 |
| | |||||
* | Undeprecate and switch back to validator, to reduce annoyance. | Julian Berman | 2013-04-11 | 1 | -1/+1 |
| | |||||
* | Fix path wording | Julian Berman | 2013-04-10 | 1 | -1/+1 |
| | |||||
* | Clarify instance attribute. | Julian Berman | 2013-04-10 | 1 | -1/+6 |
| | |||||
* | More doc tidying. | Julian Berman | 2013-04-09 | 1 | -31/+33 |
| | |||||
* | More wording. | Julian Berman | 2013-04-09 | 1 | -4/+14 |
| | |||||
* | Use python 3 style prints in docs | Chase Sterling | 2013-04-07 | 1 | -4/+4 |
| | |||||
* | Add missing paren in docs | Chase Sterling | 2013-04-07 | 1 | -1/+1 |
| | |||||
* | Don't rely on hash sorting for docs examples | Chase Sterling | 2013-04-05 | 1 | -2/+2 |
| | |||||
* | Add example of using the ValidationError attributes | Chase Sterling | 2013-04-04 | 1 | -0/+64 |
| | |||||
* | Update the docs for ValidationError with the new attributes | Chase Sterling | 2013-04-01 | 1 | -1/+24 |
| |