@celery.task()
def mark_old_credit_cards():
    return CreditCard.mark_old_credit_cards()
Mark credit cards that are going to expire soon or have expired.
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/blueprints/billing/tasks.py/mark_old_credit_cards