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

Method __init__

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

Source from the content-addressed store, hash-verified

359 field_type = "boolean"
360
361 def __init__(self, **kwargs):
362 if kwargs.get("facet_class") is None:
363 kwargs["facet_class"] = FacetBooleanField
364
365 super().__init__(**kwargs)
366
367 def prepare(self, obj):
368 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