MCPcopy Index your code
hub / github.com/django-haystack/django-haystack / __init__

Method __init__

haystack/fields.py:229–233  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

227 field_type = "string"
228
229 def __init__(self, **kwargs):
230 if kwargs.get("facet_class") is None:
231 kwargs["facet_class"] = FacetCharField
232
233 super().__init__(**kwargs)
234
235 def prepare(self, obj):
236 return self.convert(super().prepare(obj))

Callers 9

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

getMethod · 0.80

Tested by

no test coverage detected