We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d91e290 commit 283c62cCopy full SHA for 283c62c
main.py
@@ -56,7 +56,7 @@ def pdfs_merge(attachments: List[UploadFile]):
56
"""
57
# First validate that all the attachments are PDFs.
58
if len(attachments) > 10:
59
- raise HTTPException(status_code=400, detail=f"A maximum of 10 attachments are allowed.")
+ raise HTTPException(status_code=400, detail="A maximum of 10 attachments are allowed.")
60
logger.info("Performing mime type validation on attachments.")
61
for attachment in attachments:
62
# Save the attachment for further analysis
0 commit comments