assembl.models.vocabulary module¶
-
class
assembl.models.vocabulary.
AbstractEnumVocabulary
(**kwargs)[source]¶ Bases:
assembl.models.vocabulary.AbstractVocabulary
A vocabulary backed by a Python Enum. Define an ‘Enum’ member class (derived from enum.Enum) in concret subclasses.
-
class
assembl.models.vocabulary.
AbstractIdentifierVocabulary
(**kwargs)[source]¶ Bases:
assembl.models.vocabulary.AbstractVocabulary
A vocabulary backed by a string