Fixed lint issues

This commit is contained in:
Firq 2023-10-03 18:31:52 +02:00
parent 1435b307a6
commit 555e2bbc00
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,3 @@
from enum import Enum
import marshmallow as ma
from .requests import RequestStatus

View file

@ -14,7 +14,7 @@ class AllRequests(MethodView):
def get(self):
db_data = db.at("requests").read()
response = []
for key, value in db_data.items():
for value in db_data.values():
value.update({
"status": RequestStatus(value["status"])
})

View file

@ -2,7 +2,7 @@ from flask_smorest import abort
from flask.views import MethodView
from database import Database
from models.requests import UuidSchema, RequestsInteraction, RequestsInteractionDelete, RequestStatus
from models.requests import UuidSchema, RequestsInteractionDelete, RequestStatus
from models.requestentry import RequestDatabaseEntry
from . import routes_requests as blp