class_docstr: Base class for all configuration classes. All configuration parameters are stored under `self.config`. Also
  provides the [`~ConfigMixin.from_config`] and [`~ConfigMixin.save_config`] methods for loading, downloading, and
  saving classes that inherit from [`ConfigMixin`].
  
  Class attributes:
      - **config_name** (`str`) -- A filename under which the config should stored when calling
        [`~ConfigMixin.save_config`] (should be overridden by parent class).
      - **ignore_for_config** (`List[str]`) -- A list of attributes that should not be saved in the config (should be
        overridden by subclass).
      - **has_compatibles** (`bool`) -- Whether the class has compatible classes (should be overridden by subclass).
      - **_deprecated_kwargs** (`List[str]`) -- Keyword arguments that are deprecated. Note that the `init` function
        should only have a `kwargs` argument if at least one argument is deprecated (should be overridden by
        subclass).
docstr: The only reason we overwrite `getattr` here is to gracefully deprecate accessing
  config attributes directly. See https://github.com/huggingface/diffusers/pull/3129
  
  Tihs funtion is mostly copied from PyTorch's __getattr__ overwrite:
  https://pytorch.org/docs/stable/_modules/torch/nn/modules/module.html#Module
docstr_tok: ["The","only","reason","we","overwrite","`","getattr","`","here","is","to","gracefully","deprecate","accessing","config","attributes","directly",".","See","https",":","\/\/github.com\/huggingface\/diffusers\/pull\/3129","Tihs","funtion","is","mostly","copied","from","PyTorch","'s","__getattr__","overwrite",":","https",":","\/\/pytorch.org\/docs\/stable\/_modules\/torch\/nn\/modules\/module.html","#","Module"]
code: def __getattr__(self, name: str) -> Any:
      """The only reason we overwrite `getattr` here is to gracefully deprecate accessing
      config attributes directly. See https://github.com/huggingface/diffusers/pull/3129
  
      Tihs funtion is mostly copied from PyTorch's __getattr__ overwrite:
      https://pytorch.org/docs/stable/_modules/torch/nn/modules/module.html#Module
      """
  
      is_in_config = "_internal_dict" in self.__dict__ and hasattr(
          self.__dict__["_internal_dict"], name
      )
      is_attribute = name in self.__dict__
  
      if is_in_config and not is_attribute:
          deprecation_message = f"Accessing config attribute `{name}` directly via '{type(self).__name__}' object attribute is deprecated. Please access '{name}' over '{type(self).__name__}'s config object instead, e.g. 'scheduler.config.{name}'."
          deprecate(
              "direct config name access",
              "1.0.0",
              deprecation_message,
              standard_warn=False,
          )
          return self._internal_dict[name]
  
      raise AttributeError(
          f"'{type(self).__name__}' object has no attribute '{name}'"
      )
  
imports: import dataclasses
  import functools
  import importlib
  import inspect
  import json
  import os
  import re
  from collections import OrderedDict
  from pathlib import PosixPath
  from typing import Any, Dict, Tuple, Union
  import numpy
  from huggingface_hub import create_repo, hf_hub_download
  from huggingface_hub.utils import EntryNotFoundError, RepositoryNotFoundError, RevisionNotFoundError
  from requests import HTTPError
  from .None import __version__
  from .utils import DIFFUSERS_CACHE, HUGGINGFACE_CO_RESOLVE_ENDPOINT, DummyObject, deprecate, extract_commit_hash, http_user_agent, logging
label_desc: Use image node_id 2 for calling the ConfigMixin obj's underlying member method code with example usage: obj.__getattr__(name) and returns: self