def aggregate(label=""):
    """
    Use this decorator to set a label for your aggregation functions on charts.

    :param label:
        The label to complement with the column
    """

    def wrap(f):
        f._label = label
        return f

    return wrap

    Use this decorator to set a label for your aggregation functions on charts.

    :param label:
        The label to complement with the column
    
flask_appbuilder/models/group.py