input: from typing import List
  
  def generate_password(pwd_length: int) -> str:
      """ Generates a random password of the given length, which consists of alphanumeric characters 
      and at least one special character.
      Example:
      for generate_password(8)
      Output: '@a1B2c3D'
      """
output:     
      import random
      import string
  
      characters = string.ascii_letters + string.digits
      special_characters = "!@#$%^&*()_+"
      
      password = []
      password.append(random.choice(special_characters))
      
      for _ in range(pwd_length - 1):
          password.append(random.choice(characters))
      
      random.shuffle(password)
      return ''.join(password)
  