You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, there's no way to do a partial download from cloudfiles using the Range header via pyrax.
In python-cloudfiles you could do this:
obj.read(size=8192)
But there doesn't seem to be an equivalent in pyrax/swiftclient. AFAICT the best you can do is pass in a chunk_size to fetch() but then you still have to read the rest of the data and discard it:
As far as I can tell, there's no way to do a partial download from cloudfiles using the Range header via pyrax.
In python-cloudfiles you could do this:
But there doesn't seem to be an equivalent in pyrax/swiftclient. AFAICT the best you can do is pass in a
chunk_size
tofetch()
but then you still have to read the rest of the data and discard it:Obviously this has a pretty serious impact on performance for files of any size above the
chunk_size
.The text was updated successfully, but these errors were encountered: