Skip to content

Commit

Permalink
feat: add support for celery 5.x (#334)
Browse files Browse the repository at this point in the history
* feat: add support for celery 5.x
* chore: bump version for release
  • Loading branch information
iamsobanjaved committed Jan 19, 2022
1 parent 95aea4d commit 97ce5aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions problem_builder/tasks.py
Expand Up @@ -3,7 +3,7 @@
"""
import time

from celery.task import task
from celery import shared_task
from celery.utils.log import get_task_logger
from django.contrib.auth.models import User
from django.db.models import F
Expand All @@ -23,7 +23,7 @@
logger = get_task_logger(__name__)


@task()
@shared_task()
def export_data(course_id, source_block_id_str, block_types, user_ids, match_string):
"""
Exports student answers to all supported questions to a CSV file.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -27,7 +27,7 @@

# Constants #########################################################

VERSION = '5.0.0'
VERSION = '5.1.0'

# Functions #########################################################

Expand Down

0 comments on commit 97ce5aa

Please sign in to comment.