bio photo

Notes on things I've learned

→ Twitter → Github

Class based Celery task Oct 13, 2015

In the previous post, I showed you how to implement basic Celery task that make use of @task decorator and some pattern on how to remove circular dependencies when calling the task from Flask view. Let's recall some part of the code. def run_task_async(): task = chain(long_run_

Celery integration with Flask Sep 08, 2015

As of Celery version 3.0 and above, Celery integration with Flask should no longer need to depend on third party extension. That's what they said. However, my experience integrating Celery with Flask especially when using Flask with blueprints shows that it can be a little bit tricky. Challenges So