mirror of
https://github.com/langgenius/dify.git
synced 2026-03-13 19:17:43 +08:00
fix mypy
This commit is contained in:
@ -215,7 +215,7 @@ class KnowledgebasePipelineFileUploadApi(DatasetApiResource):
|
||||
|
||||
if not file.filename:
|
||||
raise FilenameNotExistsError
|
||||
|
||||
|
||||
if not current_user:
|
||||
raise ValueError("Invalid user account")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user