code: def _create_indexer(cls, name, indexer):
          
          if getattr(cls, name, None) is None:
              _indexer = functools.partial(indexer, name)
              setattr(cls, name, property(_indexer, doc=indexer.__doc__))
docs: Create an indexer like _name in the class.