pyre.constraints.Set

Module Contents

class pyre.constraints.Set.Set(*choices, **kwds)

Bases: pyre.constraints.Constraint.Constraint

Check whether the candidate is a member of a given set

validate(self, value, **kwds)

Check whether {value} satisfies this constraint

__str__(self)