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 3a9e656 commit 6adb5d8Copy full SHA for 6adb5d8
services/storage/src/simcore_service_storage/utils/utils.py
@@ -69,8 +69,8 @@ def is_file_entry_valid(file_metadata: FileMetaData | FileMetaDataAtDB) -> bool:
69
70
71
def create_upload_completion_task_name(user_id: UserID, file_id: StorageFileID) -> str:
72
- hash = hashlib.sha256(f"{user_id}_{file_id}").hexdigest()
73
- return f"upload_complete_task_{hash}"
+ the_hash = hashlib.sha256(f"{user_id}_{file_id}".encode()).hexdigest()
+ return f"upload_complete_task_{the_hash}"
74
75
76
def is_valid_managed_multipart_upload(upload_id: UploadID | None) -> bool:
0 commit comments