class_docstr: Abstract data loader.
class_docstr_tok: ["Abstract","data","loader","."]
code: def _get_onto_list(self, onto_map, domain):
      results = []
      domain = domain.replace(
          "-", "_"
      )  # cause they changed it for restaurant-search >.>
      for data in onto_map[domain]:
          call = {}
          call[tod.STANDARD_API_NAME_SLOT] = data["prefix"]
          call[tod.STANDARD_OPTIONAL_KEY] = data[
              "annotations"
          ]  # make all args optional since not specified
          results.append(call)
      return results
  
imports: from parlai.core.params import ParlaiParser
  import os
  import pandas
  from collections import Counter
  from parlai.core.opt import Opt
  import parlai.core.tod.tod_core
  from parlai.utils.misc import warn_once
  import json
  from typing import Optional
  from parlai.utils.data import DatatypeHelper
  from parlai.utils.io import PathManager
  import parlai.tasks.taskmaster2.build
  import parlai.core.tod.tod_agents
label_desc: Use image node_id 6 for calling the Taskmaster2Parser obj's underlying member method code with example usage: obj._get_onto_list(onto_map, domain) and returns: results