(self, other)
| 5467 | return self._gen_tq_label(self.name, dedupe_on_key=False) |
| 5468 | |
| 5469 | def _compare_name_for_result(self, other): |
| 5470 | if ( |
| 5471 | self.is_literal |
| 5472 | or self.table is None |
| 5473 | or self.table._is_textual |
| 5474 | or not hasattr(other, "proxy_set") |
| 5475 | or ( |
| 5476 | isinstance(other, ColumnClause) |
| 5477 | and ( |
| 5478 | other.is_literal |
| 5479 | or other.table is None |
| 5480 | or other.table._is_textual |
| 5481 | ) |
| 5482 | ) |
| 5483 | ): |
| 5484 | return (hasattr(other, "name") and self.name == other.name) or ( |
| 5485 | hasattr(other, "_tq_label") |
| 5486 | and self._tq_label == other._tq_label |
| 5487 | ) |
| 5488 | else: |
| 5489 | return other.proxy_set.intersection(self.proxy_set) |
| 5490 | |
| 5491 | def _gen_tq_label( |
| 5492 | self, name: str, dedupe_on_key: bool = True |
nothing calls this directly
no test coverage detected