(aggregator_name)
return {
            'name': agg_class.NAME,
            'display_name': agg_class.DISPLAY_NAME,
            'description': agg_class.DESCRIPTION,
            'fields': field_lines,
        }
Returns a dict with information about an aggregation.
Returns a dict with information about an aggregation.
Returns a dict with information about an aggregation .
def _get_info(aggregator_name):
        """Returns a dict with information about an aggregation."""
        agg_class = aggregator_manager.AggregatorManager.get_aggregator(
            aggregator_name)

        field_lines = []
        for form_field in agg_class.FORM_FIELDS:
            field = {
                'name': form_field.get('name', 'N/A'),
                'description': form_field.get('label', 'N/A')
            }
            field_lines.append(field)

        return {
            'name': agg_class.NAME,
            'display_name': agg_class.DISPLAY_NAME,
            'description': agg_class.DESCRIPTION,
            'fields': field_lines,
        }
def _get_info ( aggregator_name ) : agg_class = aggregator_manager . AggregatorManager . get_aggregator ( aggregator_name ) field_lines = [ ] for form_field in agg_class . FORM_FIELDS : field = { 'name' : form_field . get ( 'name' , 'N/A' ) , 'description' : form_field . get ( 'label' , 'N/A' ) } field_lines . append ( field ) return { 'name' : agg_class . NAME , 'display_name' : agg_class . DISPLAY_NAME , 'description' : agg_class . DESCRIPTION , 'fields' : field_lines , }