@ -2,11 +2,11 @@ import pathlib
from django.test import TestCase
from ..celery_tasks import ingest_data
from ..models import (DOCUMENT_CLASSIFICATION,
INTENT_DETECTION_AND_SLOT_FILLING, SEQ2SEQ,
SEQUENCE_LABELING, Category, CategoryType, Example, Span,
SpanType)
from ..tasks import ingest_data
from .api.utils import prepare_project
@ -8,8 +8,8 @@ from rest_framework.views import APIView
from members.permissions import IsProjectAdmin
from ..celery_tasks import export_dataset
from ..models import Project
from ..tasks import export_dataset
from .download.catalog import Options
@ -10,8 +10,8 @@ from rest_framework.views import APIView
from .upload.catalog import Options
@ -8,4 +8,4 @@ app = Celery('app')
app.config_from_object('django.conf:settings', namespace='CELERY')
app.autodiscover_tasks()
app.autodiscover_tasks(related_name='celery_tasks')