(
            self, aggregator_name, aggregator_parameters)
return aggregation_obj
Run an aggregator class.

        Args:
            aggregator_name: Name of the aggregator to run.
            aggregator_parameters: A dict with key/value pairs of parameters
                the aggregator needs to run.

        Returns:
            An aggregation object (instance of Aggregator).
Run an aggregator class.
Run an aggregator class .
def run_aggregator(
            self, aggregator_name, aggregator_parameters):
        """Run an aggregator class.

        Args:
            aggregator_name: Name of the aggregator to run.
            aggregator_parameters: A dict with key/value pairs of parameters
                the aggregator needs to run.

        Returns:
            An aggregation object (instance of Aggregator).
        """
        if self.is_archived():
            raise RuntimeError(
                'Unable to run an aggregator on an archived sketch.')

        aggregation_obj = aggregation.Aggregation(sketch=self)
        aggregation_obj.from_aggregator_run(
            aggregator_name=aggregator_name,
            aggregator_parameters=aggregator_parameters
        )

        return aggregation_obj
def run_aggregator ( self , aggregator_name , aggregator_parameters ) : if self . is_archived ( ) : raise RuntimeError ( 'Unable to run an aggregator on an archived sketch.' ) aggregation_obj = aggregation . Aggregation ( sketch = self ) aggregation_obj . from_aggregator_run ( aggregator_name = aggregator_name , aggregator_parameters = aggregator_parameters ) return aggregation_obj