(self, other)
| 489 | return cls |
| 490 | |
| 491 | def __and__(self, other): |
| 492 | self._check_operator_queryset(other, "&") |
| 493 | self._merge_sanity_check(other) |
| 494 | if isinstance(other, EmptyQuerySet): |
| 495 | return other |
| 496 | if isinstance(self, EmptyQuerySet): |
| 497 | return self |
| 498 | combined = self._chain() |
| 499 | combined._merge_known_related_objects(other) |
| 500 | combined.query.combine(other.query, sql.AND) |
| 501 | return combined |
| 502 | |
| 503 | def __or__(self, other): |
| 504 | self._check_operator_queryset(other, "|") |
nothing calls this directly
no test coverage detected