input: from typing import List, Dict
  
  
  def scrape_hotel_reviews(url: str) -> List[Dict[str, str]]:
      """Scrape hotel reviews from a given TripAdvisor URL and return a list of dictionaries.
      Each dictionary contains 'title' and 'text' keys for the review title and text, respectively.
      >>> scrape_hotel_reviews('https://www.tripadvisor.com/Hotel_Review-g60763-d121788-Reviews-The_Ritz_Carlton_New_York_Central_Park-New_York_City_New_York.html')
      [{'title': 'Beautiful Hotel!', 'text': 'The rooms are beautifully appointed and the service is excellent.'}]
      """
      import requests
      from bs4 import BeautifulSoup
      
      headers = {'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'}
      
      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
output:     import requests
      from bs4 import BeautifulSoup
      
      headers = {'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'}
      
      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