1 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
4 from .base import MetaValue
7 class TextValue(MetaValue, str):
9 def from_text(cls, text):
17 class NameIdentifier(TextValue):
21 class LegimiCategory(NameIdentifier):
25 class ThemaCategory(NameIdentifier):
29 class Epoch(NameIdentifier):
33 class Kind(NameIdentifier):
37 class Genre(NameIdentifier):
41 class Audience(NameIdentifier):