def from_entities(entities)
      raise ArgumentError, 'Entities param must be an Enumerator' unless entities.is_a? Enumerator

      entities.map { |entity| from_entity(entity) }
    end
def from_entities(entities)
      raise ArgumentError, 'Entities param must be an Enumerator' unless entities.is_a? Enumerator

      entities.map { |entity| from_entity(entity) }
    end
Translates an Enumerator of Datastore::Entity objects to ActiveModel::Model objects.

 Results provided by the dataset `find_all` or `run query` will be a Dataset::LookupResults or
 Dataset::QueryResults object. Invoking `all` on those objects returns an enumerator.

 @param [Enumerator] entities An enumerator representing the datastore entities.