(self)
| 646 | return my_pk == other.pk |
| 647 | |
| 648 | def __hash__(self): |
| 649 | if not self._is_pk_set(): |
| 650 | raise TypeError("Model instances without primary key value are unhashable") |
| 651 | return hash(self.pk) |
| 652 | |
| 653 | def __reduce__(self): |
| 654 | data = self.__getstate__() |
nothing calls this directly
no test coverage detected