Complete the code to import the Celery class for asynchronous tasks.
from celery import [1]
You need to import Celery to create a Celery app for asynchronous tasks.
Complete the code to create a Celery app with the name 'myapp'.
celery_app = [1]('myapp')
Use the Celery class to create a Celery app instance.
Fix the error in the task decorator to define an asynchronous task.
@celery_app.[1]The correct decorator to define a Celery task is @celery_app.task.
Fill both blanks to call the asynchronous task named 'add' with arguments 4 and 6.
result = add.[1]([2], 6)
Use delay to call the task asynchronously and pass the first argument as 4.
Fill all three blanks to check if the asynchronous task result is ready and get the result.
if result.[1](): value = result.[2]() else: value = [3]
Use ready() to check if the task finished, get() to get the result, and None if not ready.
