From 024632a1b806939579069130b75e0f3c6e969acf Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Fri, 28 Nov 2025 19:04:07 +0800 Subject: [PATCH] Code format. --- api/db/services/file_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/db/services/file_service.py b/api/db/services/file_service.py index 2a0553f4d..11ef5b454 100644 --- a/api/db/services/file_service.py +++ b/api/db/services/file_service.py @@ -595,7 +595,7 @@ class FileService(CommonService): return errors @staticmethod - def upload_info(user_id, file, url: str=None): + def upload_info(user_id, file, url: str|None=None): def structured(filename, filetype, blob, content_type): nonlocal user_id if filetype == FileType.PDF.value: