provide deannotation for the various lists of pairs, so that using them in hashes doesn't incur high-overhead __eq__() comparisons against original columns mapped.
(
self, collection: _ColumnPairIterable
)
| 3136 | ) |
| 3137 | |
| 3138 | def _deannotate_pairs( |
| 3139 | self, collection: _ColumnPairIterable |
| 3140 | ) -> _MutableColumnPairs: |
| 3141 | """provide deannotation for the various lists of |
| 3142 | pairs, so that using them in hashes doesn't incur |
| 3143 | high-overhead __eq__() comparisons against |
| 3144 | original columns mapped. |
| 3145 | |
| 3146 | """ |
| 3147 | return [(x._deannotate(), y._deannotate()) for x, y in collection] |
| 3148 | |
| 3149 | def _setup_pairs(self) -> None: |
| 3150 | sync_pairs: _MutableColumnPairs = [] |
no test coverage detected