Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
IMladjenovic committed Dec 13, 2024
1 parent 1d183c9 commit 4e318c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions backend/src/session/file_uploads.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import json
from dataclasses import dataclass
from typing import TypedDict, Optional
import logging
import redis
Expand Down Expand Up @@ -33,8 +32,7 @@ class FileUpload(TypedDict):
size: Optional[int]


@dataclass
class FileUploadReport:
class FileUploadReport(TypedDict):
id: str
answer: str
filename: Optional[str]
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ export const Input = ({
appendMessage(
{
id,
answer
answer,
},
Role.Bot,
report,
`ESG Report - ${filename}`
`ESG Report - ${filename}`,
);
} catch (error) {
console.error(error);
Expand Down

0 comments on commit 4e318c5

Please sign in to comment.