Don't validate <uwaga> contents
[librarian.git] / src / librarian / meta / types / text.py
1 from .base import MetaValue
2
3
4 class TextValue(MetaValue, str):
5     @classmethod
6     def from_text(cls, text):
7         return cls(str(text))
8
9     def __str__(self):
10         return self.value