(self, aggregation_id)
return None
Return a stored aggregation.

        Args:
            aggregation_id: id of the stored aggregation.

        Returns:
            An aggregation object, if stored (instance of Aggregation),
            otherwise None object.
Return a stored aggregation.
Return a stored aggregation .
def get_aggregation(self, aggregation_id):
        """Return a stored aggregation.

        Args:
            aggregation_id: id of the stored aggregation.

        Returns:
            An aggregation object, if stored (instance of Aggregation),
            otherwise None object.
        """
        if self.is_archived():
            raise RuntimeError(
                'Unable to get aggregations on an archived sketch.')
        for aggregation_obj in self.list_aggregations():
            if aggregation_obj.id == aggregation_id:
                return aggregation_obj
        return None
def get_aggregation ( self , aggregation_id ) : if self . is_archived ( ) : raise RuntimeError ( 'Unable to get aggregations on an archived sketch.' ) for aggregation_obj in self . list_aggregations ( ) : if aggregation_obj . id == aggregation_id : return aggregation_obj return None