def _borrow(self):
    inner = self._connection_inner
    if inner._borrowed_for:
        raise base_con.borrow_error(inner._borrowed_for)
    inner._borrowed_for = base_con.BorrowReason.TRANSACTION
def _borrow(self):
    inner = self._connection_inner
    if inner._borrowed_for:
        raise base_con.borrow_error(inner._borrowed_for)
    inner._borrowed_for = base_con.BorrowReason.TRANSACTION