code: def _dict_to_simple_namespace_or_val(val):
      if isinstance(val, dict):
          return _dict_to_simple_namespace(val)
      return val
  
imports: import warnings
  import logging
  import os
  import pdb
  import sys
  import traceback
  from guild import exit_code
  from guild import op_util
  from guild import util
label_desc: Use image node_id 25 for calling a global function with example usage: _dict_to_simple_namespace_or_val(val) and returns: val, _dict_to_simple_namespace