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

Method has_run

haystack/backends/__init__.py:528–530  ·  view source on GitHub ↗

Indicates if any query has been been run.

(self)

Source from the content-addressed store, hash-verified

526 self.backend = connections[self._using].get_backend()
527
528 def has_run(self):
529 """Indicates if any query has been been run."""
530 return None not in (self._results, self._hit_count)
531
532 def build_params(self, spelling_query=None):
533 """Generates a list of params to use when searching."""

Callers 4

_cache_is_fullMethod · 0.80
facet_countsMethod · 0.80
stats_resultsMethod · 0.80
spelling_suggestionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected