input: from typing import List
  
  def extract_links(webpage_url: str) -> List[str]:
      """ Extracts and returns all URLs in the 'href' attributes from the given webpage URL.
      Utilizes the BeautifulSoup Python package to parse the webpage and find the 'a' tags 
      from which the URLs are extracted.
      >>> extract_links("https://example.com")
      ['https://example.com/', 'https://example.com/about', 'https://example.com/contact']
      >>> extract_links("https://anothersite.com")
      ['https://anothersite.com/home', 'https://anothersite.com/faq', 'https://anothersite.com/support']
      """
output:     import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(webpage_url)
      soup = BeautifulSoup(response.text, 'html.parser')
      links = [a['href'] for a in soup.find_all('a', href=True)]
      return links