libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Quentin Pradet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LIBCLOUD-915) s3.upload_object_via_stream no longer accepts an iterator with unknown length
Date Thu, 04 May 2017 05:32:04 GMT
Quentin Pradet created LIBCLOUD-915:
---------------------------------------

             Summary: s3.upload_object_via_stream no longer accepts an iterator with unknown
length
                 Key: LIBCLOUD-915
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-915
             Project: Libcloud
          Issue Type: Bug
          Components: Storage
         Environment: libcloud 2.0.0
            Reporter: Quentin Pradet


With libcloud 2.0.0, it's no longer possible to send an iterator of unknown length to upload_object_via_stream.
(Using it with GoogleStorageDriver myself.)

My use case is using iter(data) instead of io.BytesIO(data) + having to import io. In other
words, I can work around the issue, but there are probably valid use cases for this.

Is the new behavior intended, or is it a bug that should be fixed?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message