(self, other)
| 2573 | self.add(col) |
| 2574 | |
| 2575 | def __eq__(self, other): |
| 2576 | l = [] |
| 2577 | for c in other: |
| 2578 | for local in self: |
| 2579 | if c.shares_lineage(local): |
| 2580 | l.append(c == local) |
| 2581 | return elements.and_(*l) |
| 2582 | |
| 2583 | def __hash__(self) -> int: # type: ignore[override] |
| 2584 | return hash(tuple(x for x in self)) |
nothing calls this directly
no test coverage detected