class_docstr: A dict which raises a warning when some keys are looked up
  Note, this does not raise a warning for __contains__ and iteration.
  It also will raise a warning even after the key has been manually set by
  the user.
  
  This implementation was copied from Scikit-Learn.
  
  See License information here:
  https://github.com/scikit-learn/scikit-learn/blob/main/README.rst
class_docstr_tok: ["A","dict","which","raises","a","warning","when","some","keys","are","looked","up","Note",",","this","does","not","raise","a","warning","for","__contains__","and","iteration",".","It","also","will","raise","a","warning","even","after","the","key","has","been","manually","set","by","the","user",".","This","implementation","was","copied","from","Scikit-Learn",".","See","License","information","here",":","https",":","\/\/github.com\/scikit-learn\/scikit-learn\/blob\/main\/README.rst"]
code: def __getitem__(self, key):
      if key in self._deprecations:
          warn_args, warn_kwargs = self._deprecations[key]
          warnings.warn(*warn_args, **warn_kwargs)
      return super(DeprecationDict, self).__getitem__(key)
  
imports: import copy
  import warnings
  from itertools import compress
  import dask
  import dask.array
  import dask.dataframe
  import numpy
  import packaging.version
  import scipy.sparse
  from dask.base import tokenize
  from dask.delayed import Delayed, delayed
  from sklearn.utils.validation import _is_arraylike, indexable
  from ..utils import _num_samples
label_desc: Use image node_id 2 for calling the DeprecationDict obj's underlying member method code with example usage: obj.__getitem__(key) and returns: super