

def get_group_col(self, item):
    value = getattr(item, self.column_name)
    if value:
        return (value.year, value.month)

dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/models/group.py GroupByDateMonth.get_group_col/original