For unpickling.
(self, obj_dict)
| 519 | return obj_dict |
| 520 | |
| 521 | def __setstate__(self, obj_dict): |
| 522 | """For unpickling.""" |
| 523 | from haystack import connections |
| 524 | |
| 525 | self.__dict__.update(obj_dict) |
| 526 | self.backend = connections[self._using].get_backend() |
| 527 | |
| 528 | def has_run(self): |
| 529 | """Indicates if any query has been been run.""" |
nothing calls this directly
no test coverage detected