engforge.typing

Functions

NUMERIC_NAN_VALIDATOR

NUMERIC_VALIDATOR

Options

creates an attrs field with validated choices on init and setattr :type choices: :param choices: a list of choices that are validated on input, the first becoming the default unless it is passed in kwargs :type kwargs: :param kwargs: keyword args passed to attrs field

STR_VALIDATOR