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)