Top "Celery" questions

Celery is a distributed task queue framework for Python, used for asynchronous and parallel execution.

Flask with create_app, SQLAlchemy and Celery

I'm really struggling to the get the proper setup for Flask, SQLAlchemy and Celery. I have searched extensively and tried …

flask celery flask-sqlalchemy
Using mock to patch a celery task in Django unit tests

I'm trying to use the python mock library to patch a Celery task that is run when a model is …

python django unit-testing mocking celery
RabbitMQ set_permissions syntax noob

I've seen other posts on stackoverflow related in some ways to the ridiculous question I'm about to ask but none …

rabbitmq celery django-celery
Celery, calling delay with countdown

I'm trying to understand how celery works In my django application in tasks.py file I have created one task: @…

python django celery django-celery
How to make a celery task fail from within the task?

Under some conditions, I want to make a celery task fail from within that task. I tried the following: from …

celery celery-task
Running Scrapy spiders in a Celery task

I have a Django site where a scrape happens when a user requests it, and my code kicks off a …

python django scrapy celery
celery - chaining groups and subtasks. -> out of order execution

When I have something like the following group1 = group(task1.si(), task1.si(), task1.si()) group2 = group(task2.si(), task2.…

python celery django-celery
Celery beat not picking up periodic tasks

I am trying to get started with celery, but I can't get my task up and running. I have installed …

python django celery celerybeat
How can I use PyCharm to locally debug a Celery worker?

I have an existing Django project with a virtualenv. After activating the venv, I can run Celery just with the …

python celery pycharm virtualenv
celery task and customize decorator

I'm working on a project using django and celery(django-celery). Our team decided to wrap all data access code within (…

python django decorator celery django-celery