code: def __init__(self, conf: Dict = None):
      if conf is None:
          conf = dict()
      self._conf = conf
      if "pools" not in self._conf:
          self._conf["pools"] = dict()
      if "mapping" not in self._conf:
          self._conf["mapping"] = dict()
      if "metrics" not in self._conf:
          self._conf["metrics"] = dict()
  
file_path: mars/mars/oscar/backends/config.py
imports: from typing import Union, List, Dict, Any
label_desc: Use image node_id 1 to create a new ActorPoolConfig object  with example: obj = ActorPoolConfig(conf)