def aggregate(label=''):
    def wrap(f):
        f._label = label
        return f
    return wrap
Use this decorator to set a label for your aggregation functions on charts.
dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/models/group.py/aggregate