(self, **kwargs)
| 449 | field_type = "string" |
| 450 | |
| 451 | def __init__(self, **kwargs): |
| 452 | if kwargs.get("facet_class") is None: |
| 453 | kwargs["facet_class"] = FacetMultiValueField |
| 454 | |
| 455 | if kwargs.get("use_template") is True: |
| 456 | raise SearchFieldError( |
| 457 | "'%s' fields can not use templates to prepare their data." |
| 458 | % self.__class__.__name__ |
| 459 | ) |
| 460 | |
| 461 | super().__init__(**kwargs) |
| 462 | self.is_multivalued = True |
| 463 | |
| 464 | def prepare(self, obj): |
| 465 | return self.convert(super().prepare(obj)) |
nothing calls this directly
no test coverage detected