Skip to content

Commit e4e406f

Browse files
fix imports
1 parent 9c7fd5d commit e4e406f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

competitions/app.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import threading
44
import time
55

6-
from requests.exceptions import RequestException
7-
86
from fastapi import Depends, FastAPI, File, Form, HTTPException, Request, UploadFile
97
from fastapi.responses import HTMLResponse, JSONResponse
108
from fastapi.staticfiles import StaticFiles
@@ -14,9 +12,10 @@
1412
from huggingface_hub.utils._errors import EntryNotFoundError
1513
from loguru import logger
1614
from pydantic import BaseModel
15+
from requests.exceptions import RequestException
1716

1817
from competitions import __version__, utils
19-
from competitions.errors import AuthenticationError
18+
from competitions.errors import AuthenticationError, PastDeadlineError, SubmissionError, SubmissionLimitError
2019
from competitions.info import CompetitionInfo
2120
from competitions.leaderboard import Leaderboard
2221
from competitions.oauth import attach_oauth

0 commit comments

Comments
 (0)