Sorted imports with isort

This commit is contained in:
2023-06-22 13:17:53 +02:00
parent 47435c6128
commit 83dd4b6746
14 changed files with 82 additions and 97 deletions

View File

@@ -1,7 +1,5 @@
from fastapi import Request
from fastapi.responses import UJSONResponse
from modules.app import app
from classes.exceptions import *
from starlette.status import (
HTTP_400_BAD_REQUEST,
HTTP_401_UNAUTHORIZED,
@@ -11,6 +9,9 @@ from starlette.status import (
HTTP_422_UNPROCESSABLE_ENTITY,
)
from classes.exceptions import *
from modules.app import app
@app.exception_handler(AlbumNotFoundError)
async def album_not_found_exception_handler(request: Request, exc: AlbumNotFoundError):