input: def scrape_hotel_reviews_from_tripadvisor(url: str, headers: dict) -> List[dict]:
      """ Extracts hotel reviews from TripAdvisor given a URL and headers.
      Each review is returned as a dictionary with 'title' and 'text' keys.
      
      >>> scrape_hotel_reviews_from_tripadvisor('<url>', {'User-Agent': 'Mozilla/5.0'})
      [{'title': 'Excellent Stay', 'text': 'The room was clean and the staff was very helpful.'},
       {'title': 'Highly Recommended', 'text': 'Great location and superb service.'},
       ...]
      """
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
      reviews = soup.find_all('div', {'class': 'review-container'})
      extracted_reviews = []
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text
          text = review.find('p', {'class': 'partial_entry'}).text
          extracted_reviews.append({'title': title, 'text': text})
      return extracted_reviews
output:     import requests
      from bs4 import BeautifulSoup