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

Method getlist

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

Source from the content-addressed store, hash-verified

72 yield key, value
73
74 def getlist(self, name, default=None):
75 values = []
76 for value in self.args.getlist(name):
77 value = sanitize_text(value, encoding="utf-8")
78 if value is not None:
79 values.append(value)
80 return values or (default or [])
81
82 def get(self, name, default=None):
83 for value in self.getlist(name):

Callers 11

prefixed_itemsMethod · 0.95
sortsMethod · 0.95
getMethod · 0.95
getintlistMethod · 0.95
get_indexMethod · 0.80
__init__Method · 0.80
_get_remote_ipFunction · 0.80
suggest_entityFunction · 0.80
entitiesFunction · 0.80
exportFunction · 0.80
matchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected