fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b53aa881a98eb74c243216a4eefaf0d3f72caed9
[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