code: def get_external_addresses(self, label=None) -> List[str]:
      result = []
      for c in self._conf["pools"].values():
          if label is not None:
              if label == c["label"]:
                  result.append(c["external_address"][0])
          else:
              result.append(c["external_address"][0])
      return result
  
file_path: mars/mars/oscar/backends/config.py
imports: from typing import Union, List, Dict, Any
label_desc: Use image node_id 9 for calling the ActorPoolConfig obj's underlying member method code with example usage: obj.get_external_addresses(label) and returns: result