cubes_lite/query/request.py
def aggregates(self):
        """Prepares the attribute list for aggregations. If no aggregates
        are specified then all model's aggregates are returned.
        """

        if self._aggregates is None:
            return self.model.all_aggregates

        allowed_aggregates = {a.public_name: a for a in self.model.all_aggregates}
        aggregates = [
            allowed_aggregates[a]
            for a in self._aggregates
            if a in allowed_aggregates
        ]
        return aggregates
Prepares the attribute list for aggregations. If no aggregates
        are specified then all model's aggregates are returned.
        
Prepares the attribute list for aggregations. If no aggregates
are specified then all model's aggregates are returned.
Prepares the attribute list for aggregations . If no aggregates are specified then all model ' s aggregates are returned .
def aggregates(self):
        if self._aggregates is None:
            return self.model.all_aggregates
        allowed_aggregates = {a.public_name: a for a in self.model.all_aggregates}
        aggregates = [
            allowed_aggregates[a]
            for a in self._aggregates
            if a in allowed_aggregates
        ]
        return aggregates
def aggregates ( self ) : if self . _aggregates is None : return self . model . all_aggregates allowed_aggregates = { a . public_name : a for a in self . model . all_aggregates } aggregates = [ allowed_aggregates [ a ] for a in self . _aggregates if a in allowed_aggregates ] return aggregates
Prepares the attribute list for aggregations.
Prepares the attribute list for aggregations .
"""Prepares the attribute list for aggregations. If no aggregates
        are specified then all model's aggregates are returned.
        """
self