@aggregations.command('<STR_LIT>')<EOL>@aggr_arg<EOL>@click.option('<STR_LIT>', callback=_parse_date)<EOL>@click.option('<STR_LIT>', callback=_parse_date)<EOL>@click.confirmation_option(<EOL>prompt='<STR_LIT>')<EOL>@with_appcontext<EOL>def _aggregations_delete(aggregation_types=None,<EOL>start_date=None, end_date=None):
aggregation_types = (aggregation_types or<EOL>list(current_stats.enabled_aggregations))<EOL>for a in aggregation_types:<EOL><INDENT>aggr_cfg = current_stats.aggregations[a]<EOL>aggregator = aggr_cfg.aggregator_class(<EOL>name=aggr_cfg.name, **aggr_cfg.aggregator_config)<EOL>aggregator.delete(start_date, end_date)<EOL><DEDENT>
Delete computed aggregations.