from celery import task

from .email import process_email


@task()
def helpdesk_process_email():
    process_email()

from celery.decorators import task

from .email import process_email


@task()
def helpdesk_process_email():
    process_email()

Fix import of celery decorator "task".
Fix import of celery decorator "task".

- from celery import task
+ from celery.decorators import task
  
  from .email import process_email
  
  
  @task()
  def helpdesk_process_email():
      process_email()
  
Fix import of celery decorator "task".
## Code Before:
from celery import task

from .email import process_email


@task()
def helpdesk_process_email():
    process_email()

## Instruction:
Fix import of celery decorator "task".
## Code After:
from celery.decorators import task

from .email import process_email


@task()
def helpdesk_process_email():
    process_email()
