| 356 | return interim_rows(rows) |
| 357 | |
| 358 | def _allrows(self) -> Sequence[_R]: |
| 359 | post_creational_filter = self._post_creational_filter |
| 360 | |
| 361 | make_rows = self._row_getter[1] |
| 362 | |
| 363 | rows = self._fetchall_impl() |
| 364 | made_rows: Sequence[_InterimRowType[_R]] |
| 365 | if make_rows is not None: |
| 366 | made_rows = make_rows(rows) |
| 367 | else: |
| 368 | made_rows = rows |
| 369 | |
| 370 | interim_rows: Sequence[_R] |
| 371 | |
| 372 | if self._unique_filter_state is not None: |
| 373 | uniques: set |
| 374 | uniques, strategy = self._unique_strategy |
| 375 | interim_rows = _apply_unique_strategy( |
| 376 | made_rows, [], uniques, strategy |
| 377 | ) |
| 378 | else: |
| 379 | interim_rows = made_rows # type: ignore |
| 380 | |
| 381 | if post_creational_filter is not None: |
| 382 | interim_rows = [ |
| 383 | post_creational_filter(row) for row in interim_rows |
| 384 | ] |
| 385 | return interim_rows |
| 386 | |
| 387 | @HasMemoized_ro_memoized_attribute |
| 388 | def _onerow_getter( |