class_docstr: Container object exposing keys as attributes.
  
  Bunch objects are sometimes used as an output for functions and methods.
  They extend dictionaries by enabling values to be accessed by key,
  `bunch["value_key"]`, or by an attribute, `bunch.value_key`.
  
  Examples
  --------
  >>> from sklearn.utils import Bunch
  >>> b = Bunch(a=1, b=2)
  >>> b['b']
  2
  >>> b.b
  2
  >>> b.a = 3
  >>> b['a']
  3
  >>> b.c = 6
  >>> b['c']
  6
code: def __getitem__(self, key):
      if key in self.__dict__.get("_deprecated_key_to_warnings", {}):
          warnings.warn(
              self._deprecated_key_to_warnings[key],
              FutureWarning,
          )
      return super().__getitem__(key)
  
file_path: scikit-learn/sklearn/utils/_bunch.py
imports: import warnings
label_desc: Use image node_id 2 for calling the Bunch obj's underlying member method code with example usage: obj.__getitem__(key) and returns: super