MCPcopy Create free account
hub / github.com/django-haystack/django-haystack / __repr__

Method __repr__

haystack/backends/__init__.py:395–399  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

393 # End compat.
394
395 def __repr__(self):
396 return "<SQ: %s %s>" % (
397 self.connector,
398 self.as_query_string(self._repr_query_fragment_callback),
399 )
400
401 def _repr_query_fragment_callback(self, field, filter_type, value):
402 return "%s%s%s=%s" % (field, FILTER_SEPARATOR, filter_type, force_str(value))

Callers

nothing calls this directly

Calls 1

as_query_stringMethod · 0.95

Tested by

no test coverage detected