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

Method get_backend

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

Source from the content-addressed store, hash-verified

1088 self._backend = None
1089
1090 def get_backend(self):
1091 if self._backend is None:
1092 self._backend = self.backend(self.using, **self.options)
1093 return self._backend
1094
1095 def reset_sessions(self):
1096 """Reset any transient connections, file handles, etc."""

Callers 7

__init__Method · 0.45
__setstate__Method · 0.45
update_workerFunction · 0.45
update_backendMethod · 0.45
handleMethod · 0.45
build_contextMethod · 0.45
handleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected