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

Method __init__

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

Source from the content-addressed store, hash-verified

321 field_type = "float"
322
323 def __init__(self, **kwargs):
324 if kwargs.get("facet_class") is None:
325 kwargs["facet_class"] = FacetFloatField
326
327 super().__init__(**kwargs)
328
329 def prepare(self, obj):
330 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