@celery.task()
def expire_old_coupons():
    return Coupon.expire_old_coupons()
Invalidate coupons that are past their redeem date.
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/blueprints/billing/tasks.py/expire_old_coupons