code: def get_parser(self):
      parser = argparse.ArgumentParser(
          formatter_class=argparse.RawTextHelpFormatter
      )
  
      parser.add_argument(
          "--train_db_file",
          required=True,
          type=str,
          help="DB file that will be used for generating the test data for training.",
      )
      parser.add_argument(
          "--dev_db_file",
          required=True,
          type=str,
          help="DB file that will be used for generating the test data for "
          + "validation.",
      )
      parser.add_argument(
          "--num_samples",
          type=int,
          default=100,
          help="Number of samples to be extracted from the db file.",
      )
      parser.add_argument(
          "--train_images_folder",
          type=str,
          default=None,
          help="Images folder for training set",
      )
      parser.add_argument(
          "--dev_images_folder",
          type=str,
          default=None,
          help="Images folder for dev set",
      )
      parser.add_argument(
          "--train_features_folder",
          required=True,
          type=str,
          help="Features folder.",
          default=None,
      )
      parser.add_argument(
          "--dev_features_folder",
          required=True,
          type=str,
          help="Features folder.",
          default=None,
      )
      parser.add_argument(
          "--output_folder",
          required=True,
          type=str,
          help="Output folder.",
      )
      return parser
  
file_path: mmf/tools/scripts/tests/generate_test_data.py
imports: import argparse
  import json
  import os
  import shutil
  import numpy
  from tools.scripts.features.lmdb_conversion import LMDBConversion
label_desc: Use image node_id 2 for calling the TestDataBuilder obj's underlying member method code with example usage: obj.get_parser() and returns: parser