API Documentation¶
Runtime validation library for attrs data classes.
-
attrs_strict.
type_validator
(empty_ok=True)[source]¶ Validates the attributes using the type argument specified. If the type argument is not present, the attribute is considered valid.
Parameters: empty_ok – Boolean flag that indicates if the field can be empty in case of a collection or None for builtin types.