(self)
| 2794 | return self.connection._nested_transaction is not self |
| 2795 | |
| 2796 | def _cancel(self) -> None: |
| 2797 | # called by RootTransaction when the outer transaction is |
| 2798 | # committed, rolled back, or closed to cancel all savepoints |
| 2799 | # without any action being taken |
| 2800 | self.is_active = False |
| 2801 | self._deactivate_from_connection() |
| 2802 | if self._previous_nested: |
| 2803 | self._previous_nested._cancel() |
| 2804 | |
| 2805 | def _close_impl( |
| 2806 | self, deactivate_from_connection: bool, warn_already_deactive: bool |
no test coverage detected