(self, aggregation)
return query
Add the passed-in aggregation to the query
Add the passed-in aggregation to the query
Add the passed - in aggregation to the query
def aggregation(self, aggregation):
        """
        Add the passed-in aggregation to the query
        """
        query = deepcopy(self)
        query._aggregations.append(aggregation)
        return query
def aggregation ( self , aggregation ) : query = deepcopy ( self ) query . _aggregations . append ( aggregation ) return query