code: def get_license_type(package: PackageInfo) -> str:
      """Return the license type string for a dependency entry."""
      return package[2]
  
file_path: streamlit/scripts/audit_frontend_licenses.py
imports: import json
  import subprocess
  import sys
  from pathlib import Path
  from typing import NoReturn, Set, Tuple, cast
  from typing_extensions import TypeAlias
label_desc: Use image node_id 1 for calling a global function with example usage: get_license_type(package) and returns: package