

def get_weeks(num_weeks=10):
    weeks = []
    current = datetime.now()
    for i in range(num_weeks):
        weeks.append({
            'start_date': week_start(current),
            'end_date': week_end(current),
            'weeks_ago': num_weeks,
        })
        current = (current - timedelta(7))
    return weeks

dataset/ETHPy150Open mozilla/standup/standup/apps/status/helpers.py get_weeks/VarMisuse@59/86 `i`->`num_weeks`