Closed Hamza-nabil closed 1 month ago
Add support for streaming file uploads in the upload_file function.
upload_file
IOBase
Path
MediaIoBaseUpload
MediaFileUpload
'application/octet-stream'
None
path.name
This update addresses #537, which requests the addition of support for uploading files via stream
Feature request
git pull --rebase upstream main
LGTM Thank you!
7b2c5ef
Oops, thanks for the fix!
Description of the change
Add support for streaming file uploads in the
upload_file
function.IOBase
instances compared toPath
instances:IOBase
instancePath
instanceMediaIoBaseUpload
MediaFileUpload
'application/octet-stream'
(reference here)None
path.name
Motivation
This update addresses #537, which requests the addition of support for uploading files via stream
Type of change
Feature request
Checklist
git pull --rebase upstream main
).