(self)
| 509 | self.owner_state._empty_collections[self._key] = user_data |
| 510 | |
| 511 | def _reset_empty(self) -> None: |
| 512 | assert ( |
| 513 | self.empty |
| 514 | ), "This collection adapter is not in the 'empty' state" |
| 515 | self.empty = False |
| 516 | self.owner_state.dict[self._key] = ( |
| 517 | self.owner_state._empty_collections.pop(self._key) |
| 518 | ) |
| 519 | |
| 520 | def _refuse_empty(self) -> NoReturn: |
| 521 | raise sa_exc.InvalidRequestError( |
no test coverage detected