input: from typing import List
  
  
  def list_directory_contents(directory_path: str) -> List[str]:
      """ List the contents of a given directory.
      >>> list_directory_contents('.')
      ['script.py', 'data.txt', 'image.png']
      >>> list_directory_contents('/path/to/directory')
      ['file1.txt', 'file2.txt', 'subdir']
      """
      import os
      directory_contents = os.listdir(directory_path)
      return directory_contents
output:     import os
      directory_contents = os.listdir(directory_path)
      return directory_contents