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
When I do this, I get an error after a single successful chunk read: AttributeError: 'StreamingBody' object has no attribute 'closed'
I think it should try and handle this case (object with nothing but read and close).
Unless you think this is an inappropriate way of piping an s3 blob into the decryption streamer.
The text was updated successfully, but these errors were encountered:
I'll take a look into this. Scanning through, I think that the closed issue we can sidestep by fixing #24. However, that will still leave us depending on tell(), which StreamingBody also lacks. We might be able to sidestep that by counting the bytes read, but I'll need to dig a bit to make sure that won't break other things.
So I'm trying to stream a download into a decryption stream, and my code looks something like this:
When I do this, I get an error after a single successful chunk read:
AttributeError: 'StreamingBody' object has no attribute 'closed'
I think it should try and handle this case (object with nothing but read and close).
Unless you think this is an inappropriate way of piping an s3 blob into the decryption streamer.
The text was updated successfully, but these errors were encountered: