add more output fields to s3 upload folder

This commit is contained in:
Inoland
2025-10-07 14:45:25 +04:00
parent 9f3838b04d
commit be404d0ea1
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui_ino_nodes"
description = "A comprehensive collection of custom nodes for ComfyUI that provides advanced file handling, S3 cloud storage integration, LoRA configuration management, and various utility functions."
version = "1.1.3"
version = "1.1.4"
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.8"
@@ -19,8 +19,8 @@ class InoS3UploadFolder:
}
CATEGORY = "InoS3Helper"
RETURN_TYPES = ("BOOLEAN", "STRING", "STRING", )
RETURN_NAMES = ("success", "msg", "result", )
RETURN_TYPES = ("BOOLEAN", "STRING", "STRING", "INT", "INT", "INT", "STRING", )
RETURN_NAMES = ("success", "msg", "result", "total_files", "uploaded_successfully", "failed_uploads", "errors", )
FUNCTION = "function"
async def function(self, s3_key, local_path, delete_local, s3_config, bucket_name, max_concurrent):
@@ -46,4 +46,4 @@ class InoS3UploadFolder:
if s3_result["success"] and delete_local:
shutil.rmtree(local_path)
return (s3_result["success"], s3_result["msg"], s3_result, )
return (s3_result["success"], s3_result["msg"], s3_result, s3_result["total_files"], s3_result["uploaded_successfully"], s3_result["failed_uploads"], s3_result["errors"], )