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

Method convert

haystack/fields.py:238–242  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

236 return self.convert(super().prepare(obj))
237
238 def convert(self, value):
239 if value is None:
240 return None
241
242 return str(value)
243
244
245class LocationField(SearchField):

Callers 4

prepareMethod · 0.95
_process_resultsMethod · 0.45
_process_resultsMethod · 0.45
_process_resultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected