code: def generator(size: Integral, obj_type: Test_Feature_Enum = None):
      geos_list = []
      for i in range(size):
          geo = generate_random_shapely_feature(3, obj_type)
          geos_list.append(geo)
      return geos_list
  
imports: from enum import Enum
  from numbers import Integral
  import cupy
  import geopandas
  import numpy
  import pandas
  import pytest
  from geopandas.testing import assert_geoseries_equal
  from shapely.affinity import rotate
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  import cudf
  from cudf.testing import assert_series_equal
  import cuspatial
label_desc: Use image node_id 4 for calling a global function with example usage: generator(size, obj_type) and returns: geos_list