Methods

Attributes

Class: Unique

Validator to assert that a set of values are unique to a corresponding set of SQLAlchemy model properties.

Methods

validate (self, subject)

Raise ValidationError if one or more objects is found with the values in subject as indicated by propkeys, unless only one object is found and it is the same as the object specified by inst. Skip validation if any of the specified values from subject (i.e. those specified by the values in propkeys) is either missing or None.

Attributes

Value of

None