Source code for frex.models.constraints.item_constraint

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


[docs]class ItemConstraint(NamedTuple): """ A namedtuple to store Constraints over how items are assigned/selected. """ constraint_type: ConstraintType item_a_uri: URIRef item_b_uri: URIRef