code: def preprocess_envs(args_envs):
      envs_map = {}
      for item in args_envs:
          i = item.find(":")
          if i != -1:
              key = item[:i]
              val = item[i + 1 :]
          envs_map[key] = val
      return envs_map
  
file_path: byteps/launcher/dist_launcher.py
imports: import argparse
  import os, sys
  import signal
  import logging
  import subprocess
  from multiprocessing import Pool, Process
  from threading import Thread
label_desc: Use image node_id 1 for calling a global function with example usage: preprocess_envs(args_envs) and returns: envs_map