Wording, though this will get reworked soon hopefully.
This commit is contained in:
@@ -16,6 +16,6 @@ Creating Validation Errors
|
||||
|
||||
Any validating function that validates against a subschema should call
|
||||
:meth:`ValidatorMixin.descend`, rather than :meth:`ValidatorMixin.iter_errors`.
|
||||
If it recurses into the instance, or schema, it must set the ``path`` or
|
||||
``schema_path`` in order to properly maintain where in the instance and schema
|
||||
the error occurred.
|
||||
If it recurses into the instance, or schema, it should pass one or both of the
|
||||
``path`` or ``schema_path`` arguments to ``descend`` in order to properly
|
||||
maintain where in the instance or schema respsectively the error occurred.
|
||||
|
||||
Reference in New Issue
Block a user