From 9e7dc2c2ea15665b1f9ed2c1bd64c00c26ff45bb Mon Sep 17 00:00:00 2001 From: Hironsan Date: Fri, 9 Apr 2021 15:14:28 +0900 Subject: [PATCH] Fix import order --- app/api/views/upload/catalog.py | 2 +- app/api/views/upload/dataset.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/views/upload/catalog.py b/app/api/views/upload/catalog.py index dbff9e40..7a97e9af 100644 --- a/app/api/views/upload/catalog.py +++ b/app/api/views/upload/catalog.py @@ -4,8 +4,8 @@ from typing import Dict, List, Type from pydantic import BaseModel from typing_extensions import Literal -from . import examples from ...models import DOCUMENT_CLASSIFICATION, SEQ2SEQ, SEQUENCE_LABELING +from . import examples class Format: diff --git a/app/api/views/upload/dataset.py b/app/api/views/upload/dataset.py index 4cf75207..45870e3e 100644 --- a/app/api/views/upload/dataset.py +++ b/app/api/views/upload/dataset.py @@ -3,7 +3,7 @@ import json from typing import Dict, Iterator, List, Optional, Type import pyexcel -from seqeval.scheme import IOB2, IOE2, IOBES, BILOU, Tokens +from seqeval.scheme import BILOU, IOB2, IOBES, IOE2, Tokens from .data import BaseData from .exception import FileParseException