def get_parent_parser():
  parser = argparse.ArgumentParser(add_help=False)
  parser.add_argument('--prod', action='store_false', dest='sandbox',
                      default=True,
                      help="Whether to run on the production AMT site.")
  parser.add_argument('--hit_ids_file')
  parser.add_argument('--config', default='config.json',
                      type=json_file)
  return parser
Get an argparse parser with arguments that are always needed
dataset/ETHPy150Open jcjohnson/simple-amt/simpleamt.py/get_parent_parser