code: def _prepare_input_bounds(input_bounds):
      if isinstance(input_bounds, list):
          return [
              {"key": i, "lower_bound": lb, "upper_bound": ub}
              for i, (lb, ub) in enumerate(input_bounds)
          ]
      else:
          # users should have passed a dict-like
          return [
              {"key": key, "lower_bound": lb, "upper_bound": ub}
              for key, (lb, ub) in input_bounds.items()
          ]
  
imports: import json
label_desc: Use image node_id 3 for calling a global function with example usage: _prepare_input_bounds(input_bounds) and returns: unknown, unknown