dicfg.addons.typing.NumberTypeValidator#

class NumberTypeValidator[source]#

Bases: TypeValidator

Validator for number type (int or float).

__init__()#

Methods

__init__()

get_addon(name)

validate(value)

Validate the value

Attributes

EXPECTED_TYPE

NAME

classmethod validate(value)#

Validate the value