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):
 
  28 class MainThemaCategory(ThemaCategory):
 
  32 class Epoch(NameIdentifier):
 
  36 class Kind(NameIdentifier):
 
  40 class Genre(NameIdentifier):
 
  44 class Audience(NameIdentifier):