diff options
author | Julian Berman <Julian@GrayVines.com> | 2013-10-27 21:28:09 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2013-10-27 21:28:09 -0400 |
commit | 4f171aa18393682f2a0a3a6a178717eda021dd2c (patch) | |
tree | 1a45389840df800d826894af46b4af964fc6878d | |
parent | 4f9447b05b80b6965e31eeb7dd2f4aa58bc78ebb (diff) | |
download | jsonschema-best-match.tar.gz |
And docs for the arguments.best-match
-rw-r--r-- | docs/errors.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/errors.rst b/docs/errors.rst index 14b21b9..7fbd2f0 100644 --- a/docs/errors.rst +++ b/docs/errors.rst @@ -377,3 +377,11 @@ to guess the most relevant error in a given bunch. ... for e in sorted(errors, key=exceptions.by_relevance()) ... ] ['home', 'name'] + + :argument set weak: a collection of validators to consider to be "weak". If + there are two errors at the same level of the instance and one is in + the set of weak validators, the other error will take priority. By + default, :validator:`anyOf` and :validator:`oneOf` are considered weak + validators and will be superceded by other same-level validation + errors. + :argument set strong a collection of validators to consider to be "strong". |