fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more meta
[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