def __init__(self, data, options, data_type):<EOL>
self.data = list(data)<EOL>if "<STR_LIT>" in options:<EOL><INDENT>self.plugins = options["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.plugins = None<EOL><DEDENT>self.data_type = options.get('<STR_LIT>', data_type)<EOL>self.mappings = options.get("<STR_LIT>", {})<EOL>self.idMapping = options.get("<STR_LIT>", None)<EOL>self.additionalFields = options.get('<STR_LIT>', {})<EOL>
data: Can be any array of dicts
options: {
  mappings: "a dict: converts keys matching key of the mappings dict
      to the value in the mapping dict",
  additionalFields: "a dict:
      key value pairs will be added into the returned data",
  idMapping: "a list of keys or single key string: for each key
      the corresponding values will be concatenated in order to create
      a unique _humanId field on the returned data and base64
      encoded in order to create an _id field. If no idMapping
      are provided then the item start_date and any avaiable
      'dimensions' will be used instead",
  dataType: "a value to be set on a dataType attribute.
      Overrides the data_type argument"
  plugins: "a list of string respresentations of python classes being
      instantiated. e.g. ComputeIdFrom('_timestamp', '_timespan').
      To be run on the passed in data to mutate it.
      See performanceplatform.collector.ga.plugins for more details"
}
data_type: "a string - the data_type to be set as a data_type
    attribute on the returned data unless it is overridden in options"