dicfg.addons.validators.RequiredValidatorAddon#

class RequiredValidatorAddon[source]#

Bases: ValidatorAddon

Validator that checks if a value is not empty or None

__init__()#

Methods

__init__()

get_addon(name)

validate(value)

Validate the value

Attributes

NAME

classmethod validate(value)[source]#

Validate the value