Description
When calling workspace_client.files.upload() with the default parameters, an error occurs because the function _parallel_multipart_upload_from_stream references an undefined variable contents.
In the function definition, the parameter is named content, but inside the function body it incorrectly uses contents, causing a NameError.
Expected behavior
The upload should work without errors when using default parameters.
Is it a regression?
Yes, it was working in version 0.67.0 and also in 0.69.0
Other Information
Description
When calling
workspace_client.files.upload()with the default parameters, an error occurs because the function_parallel_multipart_upload_from_streamreferences an undefined variable contents.In the function definition, the parameter is named
content, but inside the function body it incorrectly usescontents, causing a NameError.Expected behavior
The upload should work without errors when using default parameters.
Is it a regression?
Yes, it was working in version 0.67.0 and also in 0.69.0
Other Information