code: def _add_arg_to_env(env, env_key, arg_value, transform_fn=None):
      if arg_value is not None:
          value = arg_value
          if transform_fn:
              value = transform_fn(value)
          env[env_key] = str(value)
  
file_path: bluefog/bluefog/run/env_util.py
imports: import re
  import shlex
  import subprocess
  import sys
  import traceback
label_desc: Use image node_id 4 for calling a global function with example usage: _add_arg_to_env(env, env_key, arg_value, transform_fn) without return types