MCPcopy Create free account
hub / github.com/alephdata/aleph / getbool

Method getbool

aleph/search/parser.py:101–102  ·  view source on GitHub ↗
(self, name, default=False)

Source from the content-addressed store, hash-verified

99 return default
100
101 def getbool(self, name, default=False):
102 return as_bool(self.get(name), default=default)
103
104 def to_dict(self):
105 parser = {

Callers 6

__init__Method · 0.95
get_filtersMethod · 0.80
__init__Method · 0.80
get_facet_totalMethod · 0.80
get_facet_valuesMethod · 0.80
test_getboolMethod · 0.80

Calls 1

getMethod · 0.95

Tested by 1

test_getboolMethod · 0.64