code: def GetValues(
      inputs: Mapping[str, Sequence[Any]], label: str
  ) -> Sequence[Any]:
      """Retrieves the value of the given labeled input.
  
      Args:
        inputs: Dict from label to a value list.
        label: Label of the value to retrieve.
  
      Returns:
        A list of values, or empty list if there's no value.
  
      Raises:
        ValueError: If label is not one of the valid input labels.
      """
      if label not in inputs:
          return []
      values = inputs.get(label)
      if not isinstance(values, list):
          return [values]
      return values
  
imports: import inspect
  import sys
  from typing import Any, Callable, Sequence, Mapping
label_desc: Use image node_id 1 for calling a global function with example usage: GetValues(inputs, label) and returns: values, list, list