From 80897dd79c219b09e21336b12158fb4b800a0715 Mon Sep 17 00:00:00 2001 From: profitroll Date: Thu, 16 Feb 2023 14:58:27 +0100 Subject: [PATCH] Removed unused imports --- extensions/albums.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/albums.py b/extensions/albums.py index d2f3cf4..7cb4663 100644 --- a/extensions/albums.py +++ b/extensions/albums.py @@ -10,9 +10,9 @@ from modules.security import User, get_current_active_user from bson.objectid import ObjectId from bson.errors import InvalidId -from fastapi import HTTPException, Security +from fastapi import Security from fastapi.responses import UJSONResponse, Response -from starlette.status import HTTP_204_NO_CONTENT, HTTP_404_NOT_FOUND, HTTP_406_NOT_ACCEPTABLE, HTTP_409_CONFLICT +from starlette.status import HTTP_204_NO_CONTENT album_create_responses = { 406: AlbumIncorrectError("name", "error").openapi,