(self, name, description, agg_type, parameters, chart_type,
                 user, sketch, view=None, aggregationgroup=None)
Initialize the Aggregation object.

        Args:
            name (str): Name of the aggregation
            description (str): Description of the aggregation
            agg_type (str): Aggregation plugin type
            parameters (str): JSON serialized dict with aggregation parameters
            chart_type (str): Chart plugin type
            user (User): The user who created the aggregation
            sketch (Sketch): The sketch that the aggregation is bound to
            view (View): Optional, the view that the aggregation is bound to
            aggregationgroup (AggregationGroup): Optional, an AggregationGroup
                that the aggregation is bound to.
Initialize the Aggregation object.
Initialize the Aggregation object .
def __init__(self, name, description, agg_type, parameters, chart_type,
                 user, sketch, view=None, aggregationgroup=None):
        """Initialize the Aggregation object.

        Args:
            name (str): Name of the aggregation
            description (str): Description of the aggregation
            agg_type (str): Aggregation plugin type
            parameters (str): JSON serialized dict with aggregation parameters
            chart_type (str): Chart plugin type
            user (User): The user who created the aggregation
            sketch (Sketch): The sketch that the aggregation is bound to
            view (View): Optional, the view that the aggregation is bound to
            aggregationgroup (AggregationGroup): Optional, an AggregationGroup
                that the aggregation is bound to.
        """
        super().__init__()
        self.name = name
        self.description = description
        self.agg_type = agg_type
        self.aggregationgroup = aggregationgroup
        self.parameters = parameters
        self.chart_type = chart_type
        self.user = user
        self.sketch = sketch
        self.view = view
def __init__ ( self , name , description , agg_type , parameters , chart_type , user , sketch , view = None , aggregationgroup = None ) : super ( ) . __init__ ( ) self . name = name self . description = description self . agg_type = agg_type self . aggregationgroup = aggregationgroup self . parameters = parameters self . chart_type = chart_type self . user = user self . sketch = sketch self . view = view