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
The idea would be to have the validator functions, which accept an dict options argument, to also support a variant of the methods that can accept options via kwargs.
For example the is_email validator, accepts as a second argument an options dict, like in this case:
The idea would be to have the validator functions, which accept an dict options argument, to also support a variant of the methods that can accept options via kwargs.
For example the is_email validator, accepts as a second argument an options dict, like in this case:
The idea would be to have this method also accept kwargs with the same option properties with a lower precedence over the dict argument.
So the execution of the validator would end up something like this:
The text was updated successfully, but these errors were encountered: