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