def __init__(self, item_type, as_tuple=False, dimensions=None,
                 zero_indexes=False):
        if isinstance(item_type, ARRAY):
            raise ValueError("Do not nest ARRAY types; ARRAY(basetype) "
                             "handles multi-dimensional arrays of basetype")
        if isinstance(item_type, type):
            item_type = item_type()
        self.item_type = item_type
        self.as_tuple = as_tuple
        self.dimensions = dimensions
        self.zero_indexes = zero_indexes
Construct an :class:`.types.ARRAY`.
dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/sql/sqltypes.py/ARRAY.__init__