def __init__(self, name, accepted_categories):
self._type = "<STR_LIT>"<EOL>self._name = name<EOL>self._categories = accepted_categories<EOL>
Constructor.

:param name: The name of the column in the data
    view to which this constraint should be applied
:type name: str
:param accepted_categories: An array of categories to constrain the name to
:type accepted_categories: list of str