code: def _save(config):
      json.dump(
          config,
          get_config_file("training_services.json").open("w"),
          indent=4,
      )
  
file_path: nni/nni/tools/nnictl/ts_management.py
imports: import importlib
  import json
  from nni.runtime.config import get_config_file
  from .common_utils import print_error, print_green
label_desc: Use image node_id 5 for calling a global function with example usage: _save(config) without return types