code: def from_lists(
      type_buffer: List,
      all_offsets: List,
      point_coords: List,
      mpoint_coords: List,
      line_coords: List,
      polygon_coords: List,
  ) -> pa.lib.UnionArray:
      return from_pyarrow_lists(
          pa.array(type_buffer).cast(pa.int8()),
          pa.array(all_offsets).cast(pa.int32()),
          pa.array(point_coords, type=ArrowPointsType),
          pa.array(mpoint_coords, type=ArrowMultiPointsType),
          pa.array(line_coords, type=ArrowLinestringsType),
          pa.array(polygon_coords, type=ArrowPolygonsType),
      )
  
imports: from typing import List
  import pyarrow
label_desc: Use image node_id 3 for calling a global function with example usage: from_lists(type_buffer, all_offsets, point_coords, mpoint_coords, line_coords, polygon_coords) and returns: from_pyarrow_lists