code: def __init__(self, args: Namespace) -> None:
      self.token = args.token
      self.repo_id: str = args.repo_id
      self.filenames: List[str] = args.filenames
      self.repo_type: str = args.repo_type
      self.revision: Optional[str] = args.revision
      self.include: Optional[List[str]] = args.include
      self.exclude: Optional[List[str]] = args.exclude
      self.cache_dir: Optional[str] = args.cache_dir
      self.local_dir: Optional[str] = args.local_dir
      self.force_download: bool = args.force_download
      self.resume_download: bool = args.resume_download
      self.quiet: bool = args.quiet
  
      # Raise if local_dir_use_symlinks is invalid
      self.local_dir_use_symlinks: Union[Literal["auto"], bool]
      use_symlinks_lowercase = args.local_dir_use_symlinks.lower()
      if use_symlinks_lowercase == "true":
          self.local_dir_use_symlinks = True
      elif use_symlinks_lowercase == "false":
          self.local_dir_use_symlinks = False
      elif use_symlinks_lowercase == "auto":
          self.local_dir_use_symlinks = "auto"
      else:
          raise ValueError(
              f"'{args.local_dir_use_symlinks}' is not a valid value for `local_dir_use_symlinks`. It must be either"
              " 'auto', 'True' or 'False'."
          )
  
file_path: huggingface_hub/src/huggingface_hub/commands/download.py
imports: import warnings
  from argparse import Namespace, _SubParsersAction
  from typing import List, Literal, Optional, Union
  from huggingface_hub import logging
  from huggingface_hub._snapshot_download import snapshot_download
  from huggingface_hub.commands import BaseHuggingfaceCLICommand
  from huggingface_hub.constants import HF_HUB_ENABLE_HF_TRANSFER
  from huggingface_hub.file_download import hf_hub_download
  from huggingface_hub.utils import disable_progress_bars, enable_progress_bars
label_desc: Use image node_id 2 to create a new DownloadCommand object from inherited base classes: BaseHuggingfaceCLICommand with example: obj = DownloadCommand(args)