input: 
  def scrape_planets_info(url: str) -> List[dict]:
      """ Scrape the planets information (name, mass, and distance from the sun) from the given URL.
      >>> scrape_planets_info('https://en.wikipedia.org/wiki/List_of_gravitationally_rounded_objects_of_the_Solar_System')
      [{'name': 'Earth', 'mass': '5.97237', 'distance_from_sun': '149.6'}, {'name': 'Mars', 'mass': '0.64171', 'distance_from_sun': '227.9'}, ...]
      """
  
output:     import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      planets_info = []
      table = soup.find('table', {'class': 'wikitable'})
      rows = table.find_all('tr')
  
      for row in rows[1:]:
          cols = row.find_all('td')
          if len(cols) >= 6:
              name = cols[0].text.strip()
              mass = cols[4].text.strip()
              distance_from_sun = cols[5].text.strip()
              planets_info.append({
                  'name': name,
                  'mass': mass,
                  'distance_from_sun': distance_from_sun
              })
  
      return planets_info