dipsy wong
07/22/2021, 8:46 AMKevin Kho
validators
and run_validators
. validators
is a list of callables that should return True if everything looks good. Then this will run if you set run_validators=True
You can call result.validate
yourself. You just need to create that Result
class yourself with the appropriate validators.davzucky
07/23/2021, 8:26 AMKevin Kho
davzucky
07/23/2021, 1:58 PMKevin Kho
davzucky
07/23/2021, 2:03 PMKevin Kho
davzucky
07/26/2021, 12:30 AMKevin Kho
davzucky
07/26/2021, 1:15 AMKevin Kho
validate()
method. I wouldn’t recommend the validate()
method because it may be removed from the public API as noone has used it (from what I have seen).davzucky
07/26/2021, 3:36 AMdavzucky
07/26/2021, 3:36 AM