input: Write a python function to get all hyperlinks from a given URL using BeautifulSoup.
  assert len(get_all_links("https://www.example.com")) > 0
  assert isinstance(get_all_links("https://www.example.com")[0], str)
output: def get_all_links(url):
      from bs4 import BeautifulSoup
      import requests
      
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      
      links = []
      for a_tag in soup.find_all('a', href=True):
          links.append(a_tag['href'])
      
      return links