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

Method __init__

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

Source from the content-addressed store, hash-verified

302 field_type = "integer"
303
304 def __init__(self, **kwargs):
305 if kwargs.get("facet_class") is None:
306 kwargs["facet_class"] = FacetIntegerField
307
308 super().__init__(**kwargs)
309
310 def prepare(self, obj):
311 return self.convert(super().prepare(obj))

Callers

nothing calls this directly

Calls 2

getMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected