code: def add_extra_args(self, args=None):
      super().add_extra_args(args)
      parsed = vars(self.parse_known_args(args, nohelp=True)[0])
      # Also load extra args options if a file is given.
      if parsed.get("init_opt") is not None:
          try:
              self._load_known_opts(parsed.get("init_opt"), parsed)
          except FileNotFoundError:
              # don't die if -o isn't found here. See comment in second call
              # later on.
              pass
      parsed = self._infer_datapath(parsed)
  
      partial = Opt(parsed)
  
      for model in [
          "system_model",
          "user_model",
          "api_schema_grounding_model",
          "goal_grounding_model",
          "api_resp_model",
      ]:
          if (
              model in partial
              and partial[model] is not None
              and len(partial[model]) > 0
          ):
              self.add_model_subargs(partial[model], partial)
  
      for model_file_prefix in ["system", "user"]:
          key = model_file_prefix + "_model_file"
          if key in partial and partial[key] and len(partial[key]) > 0:
              model_name = self._get_model_name_from_model_file(
                  key, partial
              )
              self.add_model_subargs(model_name, partial)
  
imports: import json
  from copy import deepcopy
  from shutil import copyfile
  import os
  import parlai.utils.logging
  import parlai.core.tod.tod_world
  import parlai.core.tod.tod_agents
  from parlai.core.agents import create_agent
  from parlai.core.metrics import dict_report, aggregate_unnamed_reports
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.core.script import ParlaiScript, register_script
  from parlai.utils.distributed import is_primary_worker, all_gather_list, is_distributed, get_rank, sync_object, num_workers
  from parlai.utils.io import PathManager
  from parlai.utils.misc import TimeLogger, nice_report
  from parlai.utils.world_logging import WorldLogger
label_desc: Use image node_id 1 for calling the TodWorldParser obj's underlying member method code with example usage: obj.add_extra_args(args) without return types