Roll back to the start of any pending transaction.
(self)
| 305 | self.wait(self._commit_gen()) |
| 306 | |
| 307 | def rollback(self) -> None: |
| 308 | """Roll back to the start of any pending transaction.""" |
| 309 | with self.lock: |
| 310 | self.wait(self._rollback_gen()) |
| 311 | |
| 312 | def cancel_safe(self, *, timeout: float = 30.0) -> None: |
| 313 | """Cancel the current operation on the connection. |