code: def to_normalized_inputs(
      inputs: LLMFunctionInputs,
  ) -> _NormalizedInputsList:
      """Handles the different types of `inputs` and returns a normalized form."""
      normalized_inputs: list[Mapping[str, str]] = []
      if isinstance(inputs, llmfn_inputs_source.LLMFnInputsSource):
          normalized_inputs.extend(inputs.to_normalized_inputs())
      elif _is_column_order_values_list(inputs):
          normalized_inputs.extend(
              _normalize_column_order_values_list(inputs)
          )
      else:
          raise ValueError("Unsupported input type {!r}".format(inputs))
      return normalized_inputs
  
imports: from __future__ import annotations
  from typing import Any, Mapping, Sequence, Union
  from google.generativeai.notebook.lib import llmfn_inputs_source
label_desc: Use image node_id 3 for calling a global function with example usage: to_normalized_inputs(inputs) and returns: normalized_inputs