from celery import shared_task @shared_task def run_precalc(): # TODO: add precal here ...