A validator that performs deep validation of an iterable. :param member_validator: Validator to apply to iterable members :param iterable_validator: Validator to apply to iterable itself (optional) .. versionadded:: 19.1.0 :raises TypeError: if any sub-validators fail
(member_validator, iterable_validator=None)
| 403 | |
| 404 | |
| 405 | def deep_iterable(member_validator, iterable_validator=None): |
| 406 | """ |
| 407 | A validator that performs deep validation of an iterable. |
| 408 | |
| 409 | :param member_validator: Validator to apply to iterable members |
| 410 | :param iterable_validator: Validator to apply to iterable itself |
| 411 | (optional) |
| 412 | |
| 413 | .. versionadded:: 19.1.0 |
| 414 | |
| 415 | :raises TypeError: if any sub-validators fail |
| 416 | """ |
| 417 | return _DeepIterable(member_validator, iterable_validator) |
| 418 | |
| 419 | |
| 420 | @attrs(repr=False, slots=True, hash=True) |
nothing calls this directly
no test coverage detected