fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add meta types.
[librarian.git]
/
src
/
librarian
/
meta
/
types
/
bool.py
1
from .base import MetaValue
2
3
4
class BoolValue(MetaValue):
5
has_language = False
6
7
@classmethod
8
def from_text(cls, text):
9
return cls(text == 'true')
10