input: from typing import List
  
  def extract_hotel_reviews(url: str, headers: dict) -> List[dict]:
      """Scrapes hotel reviews from the given URL using the specified headers.
      Each review includes a title and text.
      Example:
      For the given URL and headers, the function might return:
      [
          {"title": "Excellent Stay", "text": "I had a wonderful time at this hotel."},
          {"title": "Disappointing", "text": "The service was below average."}
      ]
      """
      # Make a request and get HTML in response
      response = requests.get(url, headers=headers)
  
      # Parse HTML
      soup = BeautifulSoup(response.text, 'html.parser')
  
      # Find all reviews
      reviews = soup.find_all('div', {'class': 'review-container'})
  
      # Extract data from each review
      review_list = []
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text
          text = review.find('p', {'class': 'partial_entry'}).text
          review_list.append({"title": title, "text": text})
  
      return review_list
output:     import requests
      from bs4 import BeautifulSoup