def items(self):
        """Return the set of items from the ResultSet.

        :return: List of tuples, (key, generator)
        """
        items = []
        for series in self._get_series():
            series_key = (series.get('measurement',
                                     series.get('name', 'results')),
                          series.get('tags', None))
            items.append(
                (series_key, self._get_points_for_series(series))
            )
        return items
def items ( self ) : items = [ ] for series in self . _get_series ( ) : series_key = ( series . get ( 'measurement' , series . get ( 'name' , 'results' ) ) , series . get ( 'tags' , None ) ) items . append ( ( series_key , self . _get_points_for_series ( series ) ) ) return items
Return the set of items from the ResultSet.

        :return: List of tuples, (key, generator)