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

Class Clean

haystack/inputs.py:50–59  ·  view source on GitHub ↗

An input type for sanitizing user/untrusted input.

Source from the content-addressed store, hash-verified

48
49
50class Clean(BaseInput):
51 """
52 An input type for sanitizing user/untrusted input.
53 """
54
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

build_query_fragmentMethod · 0.90
build_query_fragmentMethod · 0.90
build_query_fragmentMethod · 0.90
prepareMethod · 0.85
prepareMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…