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

Method get

aleph/search/parser.py:82–85  ·  view source on GitHub ↗
(self, name, default=None)

Source from the content-addressed store, hash-verified

80 return values or (default or [])
81
82 def get(self, name, default=None):
83 for value in self.getlist(name):
84 return value
85 return default
86
87 def getintlist(self, name, default=None):
88 values = []

Callers 15

__init__Method · 0.95
getboolMethod · 0.95
get_index_field_typeFunction · 0.45
__init__Method · 0.45
get_facet_typeMethod · 0.45
get_facet_intervalMethod · 0.45
__init__Method · 0.45
get_facetsMethod · 0.45
extractMethod · 0.45
get_keyMethod · 0.45
to_dictMethod · 0.45
updateMethod · 0.45

Calls 1

getlistMethod · 0.95

Tested by

no test coverage detected