← Fullstack with Vue.jsQuestion 56 of 62
With Celery, if you want to check the status of a previously submitted task, how do you retrieve information about that task?
📘 Explanation
Celery provides AsyncResult(task_id) to check a task's status and retrieve its result once available. The wrong answers invent APIs like TaskResult, celery.task.get(), or app.get_task() that aren't part of Celery's actual interface.
Related questions
- When using Celery as a task queue, two common message brokers are Redis and RabbitMQ. What are the main differences…
- How does Celery use RabbitMQ to guarantee reliable task delivery and retries?
- How do you make a Celery task idempotent?
- If you need to return a large amount of data in a Django response and cannot reduce it, what approach can you use?
- How do you profile Python code to find performance bottlenecks?
← PreviousNo login needed