def run_job(self, job): '''Boot up a scrape county job on a Celery worker (it can be long-running) ''' if job: scrape_county_task.delay(job)
def run_job(self, job): if job: scrape_county_task.delay(job)