input: from typing import List
  
  def translate_text(text: str, source_lang: str, dest_lang: str) -> str:
      """ Translates a given text from a source language to a destination language using the googletrans module.
      >>> translate_text("Hello, this is a sample text to translate.", 'en', 'fr')
      'Bonjour, ceci est un texte d'exemple à traduire.'
      >>> translate_text("How are you?", 'en', 'es')
      '¿Cómo estás?'
      """
      from googletrans import Translator
      translator = Translator()
      translation = translator.translate(text, src=source_lang, dest=dest_lang)
      return translation.text
output:     from googletrans import Translator
      translator = Translator()
      translation = translator.translate(text, src=source_lang, dest=dest_lang)
      return translation.text