

@aggregate(_('Sum of'))
def aggregate_sum(items, col):
    "\n        Function to use on Group by Charts.\n        accepts a list and returns the sum of the list's items\n    "
    return sum((getattr(item, col) for item in item))

dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/models/group.py aggregate_sum/VarMisuse@36/88 `items`->`item`