pyre.constraints.Or

Module Contents

class pyre.constraints.Or.Or(*constraints, **kwds)

Bases: pyre.constraints.Constraint.Constraint

Given a set of constraints, a candidate satisfies this iff it satisfies any of the constraints

validate(self, value, **kwds)

Check whether {value} satisfies this constraint

__str__(self)