code: def _convertback(data_type: DataType, inx: Any) -> Any:
      # if inputs were lists, tuples or floats, convert back to original type.
      if data_type == DataType.FLOAT:
          return inx[0]
      if data_type == DataType.LIST:
          return inx.tolist()
      if data_type == DataType.TUPLE:
          return tuple(inx)
      return inx
  
file_path: pyproj/pyproj/utils.py
imports: import json
  from array import array
  from enum import Enum, auto
  from typing import Any
label_desc: Use image node_id 5 for calling a global function with example usage: _convertback(data_type, inx) and returns: inx, inx, inx, tuple