(self)
| 677 | return self.dialect.default_isolation_level |
| 678 | |
| 679 | def _invalid_transaction(self) -> NoReturn: |
| 680 | raise exc.PendingRollbackError( |
| 681 | "Can't reconnect until invalid %stransaction is rolled " |
| 682 | "back. Please rollback() fully before proceeding" |
| 683 | % ("savepoint " if self._nested_transaction is not None else ""), |
| 684 | code="8s2b", |
| 685 | ) |
| 686 | |
| 687 | def _revalidate_connection(self) -> PoolProxiedConnection: |
| 688 | if self.__can_reconnect and self.invalidated: |
no outgoing calls
no test coverage detected