(self)
return entries
Returns a dict.
Returns a dict.
Returns a dict .
def to_dict(self):
        """Returns a dict."""
        entries = {}
        entry_index = 1
        data = self.lazyload_data()
        for entry in data.get('objects', []):
            for bucket in self._get_aggregation_buckets(entry):
                entries['entry_{0:d}'.format(entry_index)] = bucket
                entry_index += 1
        return entries
def to_dict ( self ) : entries = { } entry_index = 1 data = self . lazyload_data ( ) for entry in data . get ( 'objects' , [ ] ) : for bucket in self . _get_aggregation_buckets ( entry ) : entries [ 'entry_{0:d}' . format ( entry_index ) ] = bucket entry_index += 1 return entries