tustvold commented on issue #558:
URL: 
https://github.com/apache/arrow-rs-object-store/issues/558#issuecomment-3601504186

   I think we need to keep Inner crate-private, in particular the index 
tracking on the PutPayload variant would be a little odd to expose.
   
   I can see a few options:
   
   * Add a `as_payload(&self) -> Option<&PutPayload>`
   * Add a `From<HttpRequestBody> for PutPayload`
   * Add a `impl Iterator<Item=&Bytes> for &HttpRequestBody`
   
   However, these would all potentially constrain us down the line. Whilst we 
don't currently support streaming writes, this isn't necessarily always going 
to be the case. #504 #281 
   
   I'm not familiar with where pyO3 's async story has gotten, but is this a 
hard blocker or just a nice-to-have?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to