code: def build_pool_kwargs(n_process: int, kwargs: Dict):
      n_io_process = kwargs.pop("n_io_process", 0)
      if n_io_process:
          n_process += n_io_process
  
          labels = kwargs["labels"]
          envs = kwargs["envs"]
          # sub-pools for IO(transfer and spill)
          for _ in range(n_io_process):
              if envs:  # pragma: no cover
                  envs.append(dict())
              labels.append("io")
      return n_process, kwargs
  
file_path: mars/mars/oscar/backends/mars/backend.py
imports: from typing import Dict
  from ...backend import BaseActorBackend, register_backend
  from ..context import MarsActorContext
  from .driver import MarsActorDriver
  from .pool import MainActorPool
label_desc: Use image node_id 1 for calling a global function with example usage: build_pool_kwargs(n_process, kwargs) and returns: n_process,  kwargs