docstr: Parse config for task.
  
  Use this to parse all options and settings necessary to set the variables for
  the conversation
docstr_tok: ["Parse","config","for","task",".","Use","this","to","parse","all","options","and","settings","necessary","to","set","the","variables","for","the","conversation"]
code: def _parse_config(self, opt: Opt):
      """
      Parse config for task.
  
      Use this to parse all options and settings necessary to set the variables for
      the conversation
      """
      self.debug = opt["is_debug"]
      self.config = opt["config"]
      self.overworld = self.config["overworld"]
      self.world_path = self.config["world_path"]
      self.world_module = utils.get_world_module(self.world_path)
      self.task_configs = self.config["configs"]
      self.max_workers = self.config["max_workers"]
      self.opt["task"] = self.config["task_name"]
      # Deepcopy the opts so the manager opts aren't changed by the world runner
      self.runner_opt = copy.deepcopy(opt)
      self.world_runner = ChatServiceWorldRunner(
          self.runner_opt,
          self.world_path,
          self.max_workers,
          self,
          opt["is_debug"],
      )  # Replace with base runner
      self.max_agents_for = {
          task: cfg.agents_required
          for task, cfg in self.task_configs.items()
      }
      self.onboard_map = {
          task: cfg.onboarding_name
          for task, cfg in self.task_configs.items()
      }
      self.taskworld_map = {
          task: cfg.task_name for task, cfg in self.task_configs.items()
      }
      self.service_reference_id = None
      self.parse_additional_args(opt)
  
imports: from abc import ABC, abstractmethod
  from asyncio import Future
  import copy
  import sys
  import logging
  import datetime
  import threading
  import time
  import traceback
  from typing import Dict, Any, Optional, List, Callable
  from parlai.chat_service.core.agents import ChatServiceAgent
  import parlai.chat_service.utils.logging
  import parlai.chat_service.utils.misc
  import parlai.chat_service.utils.server
  from parlai.chat_service.core.world_runner import ChatServiceWorldRunner
  from parlai.core.opt import Opt
label_desc: Use image node_id 3 for calling the ChatServiceManager obj's underlying member method code with example usage: obj._parse_config(opt) without return types