class_docstr: Configuration for our cached path manager.
  
  Attributes:
      cache_dir (`str` or `Path`, *optional*):
          Specify a cache directory to save the file to (overwrite the
          default cache dir).
      force_download (`bool`, defaults to `False`):
          If `True`, re-dowload the file even if it's already cached in
          the cache dir.
      resume_download (`bool`, defaults to `False`):
          If `True`, resume the download if an incompletely received file is
          found.
      proxies (`dict`, *optional*):
      user_agent (`str`, *optional*):
          Optional string or dict that will be appended to the user-agent on remote
          requests.
      extract_compressed_file (`bool`, defaults to `False`):
          If `True` and the path point to a zip or tar file,
          extract the compressed file in a folder along the archive.
      force_extract (`bool`, defaults to `False`):
          If `True` when `extract_compressed_file` is `True` and the archive
          was already extracted, re-extract the archive and override the folder where it was extracted.
      delete_extracted (`bool`, defaults to `False`):
          Whether to delete (or keep) the extracted files.
      use_etag (`bool`, defaults to `True`):
          Whether to use the ETag HTTP response header to validate the cached files.
      num_proc (`int`, *optional*):
          The number of processes to launch to download the files in parallel.
      max_retries (`int`, default to `1`):
          The number of times to retry an HTTP request if it fails.
      token (`str` or `bool`, *optional*):
          Optional string or boolean to use as Bearer token
          for remote files on the Datasets Hub. If `True`, or not specified, will get token from `~/.huggingface`.
      use_auth_token (`str` or `bool`, *optional*):
          Optional string or boolean to use as Bearer token
          for remote files on the Datasets Hub. If `True`, or not specified, will get token from `~/.huggingface`.
  
          <Deprecated version="2.14.0">
  
          `use_auth_token` was deprecated in favor of `token` in version 2.14.0 and will be removed in 3.0.0.
  
          </Deprecated>
  
      ignore_url_params (`bool`, defaults to `False`):
          Whether to strip all query parameters and fragments from
          the download URL before using it for caching the file.
      storage_options (`dict`, *optional*):
          Key/value pairs to be passed on to the dataset file-system backend, if any.
      download_desc (`str`, *optional*):
          A description to be displayed alongside with the progress bar while downloading the files.
code: def __setattr__(self, name, value):
      if (
          name == "token"
          and getattr(self, "storage_options", None) is not None
      ):
          if "hf" not in self.storage_options:
              self.storage_options["hf"] = {
                  "token": value,
                  "endpoint": config.HF_ENDPOINT,
              }
          elif (
              getattr(self.storage_options["hf"], "token", None) is None
          ):
              self.storage_options["hf"]["token"] = value
      super().__setattr__(name, value)
  
file_path: datasets/src/datasets/download/download_config.py
imports: import copy
  import warnings
  from dataclasses import InitVar, dataclass, field
  from pathlib import Path
  from typing import Any, Dict, Optional, Union
  from ..None import config
label_desc: Use image node_id 3 for calling the DownloadConfig obj's underlying member method code with example usage: obj.__setattr__(name, value) without return types