dicfg.validators.ConfigPositiveNumberValidator#

class ConfigPositiveNumberValidator[source]#

Bases: ConfigValidator

Validator that checks if a value is a positive number

__init__()#

Methods

__init__()

get_validator(name)

validate(value)

Validate a value

Attributes

MESSAGE

NAME

validate(value)[source]#

Validate a value