We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f9447b commit 4f171aaCopy full SHA for 4f171aa
1 file changed
docs/errors.rst
@@ -377,3 +377,11 @@ to guess the most relevant error in a given bunch.
377
... for e in sorted(errors, key=exceptions.by_relevance())
378
... ]
379
['home', 'name']
380
+
381
+ :argument set weak: a collection of validators to consider to be "weak". If
382
+ there are two errors at the same level of the instance and one is in
383
+ the set of weak validators, the other error will take priority. By
384
+ default, :validator:`anyOf` and :validator:`oneOf` are considered weak
385
+ validators and will be superceded by other same-level validation
386
+ errors.
387
+ :argument set strong a collection of validators to consider to be "strong".
0 commit comments