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

Method __init__

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

Source from the content-addressed store, hash-verified

340 field_type = "string"
341
342 def __init__(self, **kwargs):
343 if kwargs.get("facet_class") is None:
344 kwargs["facet_class"] = FacetDecimalField
345
346 super().__init__(**kwargs)
347
348 def prepare(self, obj):
349 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