code: def add_default_envs(self):
      super().add_default_envs()
      if self._spill_dirs:
          self.add_env("MARS_SPILL_DIRS", ":".join(self._spill_dirs))
  
imports: from urllib.parse import urlparse
  from ...utils import parse_readable_size, calc_size_by_str
  from ..kubernetes.config import ContainerEnvConfig
label_desc: Use image node_id 4 for calling the MarsWorkerSpecConfig obj's underlying member method code with example usage: obj.add_default_envs() without return types