You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a copy of the first issue collected in #1206 to enable separate tracking of the bug.
The issue
Some of the inner validators accept lists while others still require the explicit use of and_. For consistency, I think all of them should ideally be able to handle lists. For the member_validator, the change has been in implemented in #925, but iterable_validator still struggles with lists. For example, the following piece of code works, but replacing any_ with a list will make it fail:
This is a copy of the first issue collected in #1206 to enable separate tracking of the bug.
The issue
Some of the inner validators accept lists while others still require the explicit use of
and_
. For consistency, I think all of them should ideally be able to handle lists. For themember_validator
, the change has been in implemented in #925, butiterable_validator
still struggles with lists. For example, the following piece of code works, but replacingany_
with a list will make it fail:For
deep_mapping
, lists/tuples not supported for any of its three arguments.The text was updated successfully, but these errors were encountered: