code: def get_filename(
      self,
      prefix: str = None,
  ) -> str:
      filename = ""
      if prefix is not None:
          filename += prefix + "_"
      if self.namespace is not None:
          filename += self.namespace + "_"
      assert self.tablename is not None
      filename += self.tablename
      if self.partitions is not None:
          filename += "_" + "_".join(self.partitions).replace("=", "_")
      if self.num_vectors is not None:
          filename += f"_{self.num_vectors}"
      filename += "."
      return filename
  
file_path: faiss/benchs/bench_fw/descriptors.py
imports: from dataclasses import dataclass
  import logging
  from typing import Any, Dict, List, Optional
  import faiss
  from .utils import timer
label_desc: Use image node_id 2 for calling the DatasetDescriptor obj's underlying member method code with example usage: obj.get_filename(prefix) and returns: filename