Open toabi opened 3 months ago
Would you be up for opening a PR to see how would you like to get this implemented, @toabi ?
Well… currently I don't have much ressources to spare, but if another project where we use this library will require it maybe it'll be worth to implement it properly without workarounds.
https://github.com/theriverman/django-minio-backend/blob/3.6.0/django_minio_backend/models.py#L166-L181
The part here could also do multipart uploads when setting
length=-1
andpart_size=some_buffer_size
. (see https://min.io/docs/minio/linux/developers/python/API.html#put-object-bucket-name-object-name-data-length-content-type-application-octet-stream-metadata-none-sse-none-progress-none-part-size-0-num-parallel-uploads-3-tags-none-retention-none-legal-hold-false)As a local workaround I'm currently doing this:
But it would be nice to have it as an option/setting/default…