class_docstr: Base class for attribute collector subclasses. Classes that inherit
  this class may use a declarative syntax to specify which vertex or edge
  attributes they intend to collect. See L{AttributeCollectorMeta} for
  the details.
docstr: Returns the collected attributes of the vertex/edge with the
  given index.
docstr_tok: ["Returns","the","collected","attributes","of","the","vertex\/edge","with","the","given","index","."]
code: def __getitem__(self, index):
      """Returns the collected attributes of the vertex/edge with the
      given index."""
      return self._cache[index]
  
file_path: python-igraph/src/igraph/drawing/metamagic.py
imports: from configparser import NoOptionError
  from igraph.configuration import Configuration
label_desc: Use image node_id 3 for calling the AttributeCollectorBase obj's underlying member method code with example usage: obj.__getitem__(index) and returns: self