|
@ -3,9 +3,9 @@ from rest_framework.reverse import reverse |
|
|
|
|
|
|
|
|
from projects.models import DOCUMENT_CLASSIFICATION, SEQUENCE_LABELING, SEQ2SEQ |
|
|
from projects.models import DOCUMENT_CLASSIFICATION, SEQUENCE_LABELING, SEQ2SEQ |
|
|
from labels.models import Category, Span, TextLabel |
|
|
from labels.models import Category, Span, TextLabel |
|
|
from api.tests.api.utils import (CRUDMixin, make_label, |
|
|
|
|
|
make_user, prepare_project) |
|
|
|
|
|
|
|
|
from api.tests.api.utils import (CRUDMixin, make_user, prepare_project) |
|
|
from examples.tests.utils import make_doc |
|
|
from examples.tests.utils import make_doc |
|
|
|
|
|
from label_types.tests.utils import make_label |
|
|
from .utils import make_annotation |
|
|
from .utils import make_annotation |
|
|
|
|
|
|
|
|
|
|
|
|
|
|