RestrictLen

class ipkiss3.all.RestrictLen(length, **kwargs)

restrict the length of a list, tuple, shape, … . Value must support __len__ method

length
validate(value, obj=None)