input: from typing import List, Dict
  
  
  def scrape_tripadvisor_reviews(url: str, headers: Dict[str, str]) -> List[Dict[str, str]]:
      """ Scrape hotel reviews from TripAdvisor and return a list of dictionaries containing the review title and text.
      >>> scrape_tripadvisor_reviews('<url>', {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'})
      [{'title': 'Great stay', 'text': 'We had a wonderful time at this hotel...'}, {'title': 'Disappointed', 'text': 'The service was very slow...'}, ...]
      """
output:     
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
  
      reviews = []
      for review in soup.find_all('div', class_='review-container'):
          title = review.find('span', class_='noQuotes').text
          text = review.find('p', class_='partial_entry').text
          reviews.append({'title': title, 'text': text})
  
      return reviews
  