code: def get_index_class(cls, index_type):
      return {
          "faiss-base": FaissBaseIndex,
          "faiss-par-add": FaissParallelAddIndex,
      }[index_type]
  
imports: from .indexes import FaissBaseIndex, FaissParallelAddIndex
label_desc: Use image node_id 1 for calling the IndexFactory obj's underlying member method code with example usage: obj.get_index_class(cls, index_type) and returns: dict