Source code for frex.models.constraints.attribute_constraint

from typing import NamedTuple
from frex.models.constraints import ConstraintType


[docs]class AttributeConstraint(NamedTuple): """ A namedtuple to store Constraints that will be applied in a constraint solver. """ attribute_name: str constraint_type: ConstraintType constraint_value: int