From bb4fab649e27438b5ae4a2f7c8232b30fa3326c5 Mon Sep 17 00:00:00 2001 From: Ramesh R Date: Wed, 19 Nov 2025 21:05:33 +0530 Subject: [PATCH] EDPOPS-321-old-fix removing the threshold --- solvebio/resource/object.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/solvebio/resource/object.py b/solvebio/resource/object.py index bc94c751..b8012d09 100644 --- a/solvebio/resource/object.py +++ b/solvebio/resource/object.py @@ -502,11 +502,7 @@ def upload_file(cls, local_path, remote_path, vault_full_path, **kwargs): # Get vault vault = Vault.get_by_full_path(vault_full_path, client=_client) - # Get MD5 and check if multipart upload is needed - multipart_threshold = kwargs.get( - "multipart_threshold", 64 * 1024 * 1024 - ) # 64MB default - local_md5, _ = md5sum(local_path, multipart_threshold=multipart_threshold) + local_md5, _ = md5sum(local_path, None) # Get a mimetype of file mime_tuple = mimetypes.guess_type(local_path)