MCPcopy Create free account
hub / github.com/django-haystack/django-haystack / prepare

Method prepare

haystack/inputs.py:57–59  ·  view source on GitHub ↗
(self, query_obj)

Source from the content-addressed store, hash-verified

55 input_type_name = "clean"
56
57 def prepare(self, query_obj):
58 query_string = super().prepare(query_obj)
59 return query_obj.clean(query_string)
60
61
62class Exact(BaseInput):

Callers 6

test_clean_prepareMethod · 0.95
test_clean_prepareMethod · 0.95
test_clean_prepareMethod · 0.95
test_clean_prepareMethod · 0.95
test_clean_prepareMethod · 0.95
test_clean_prepareMethod · 0.95

Calls 2

prepareMethod · 0.45
cleanMethod · 0.45

Tested by 6

test_clean_prepareMethod · 0.76
test_clean_prepareMethod · 0.76
test_clean_prepareMethod · 0.76
test_clean_prepareMethod · 0.76
test_clean_prepareMethod · 0.76
test_clean_prepareMethod · 0.76