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
Currently Storage generated code response.stream_download in all download APIs (Example). Azure Core's StreamDownloadGenerator (which stream_download returns) takes a decompress keyword arg to configure whether the response is automatically decompressed during download for relevant content encodings.
We would like to be able to expose this option to our users but the generated code does not have a way to pass anything to the stream_download method. It would be great if there was a way to pass at least decompress into this call from our hand-written code.
The text was updated successfully, but these errors were encountered:
@msyyc I think you misunderstood the ask. Stream_download is called from inside the codegen, so customer don't control the kwarg that can be injected when it's called. Jacob would like a way to do it.
@msyyc I think you misunderstood the ask. Stream_download is called from inside the codegen, so customer don't control the kwarg that can be injected when it's called. Jacob would like a way to do it.
I quite get what you mean and #2618 (comment) is just hint for me that it is doable even if we covert to rest responses after #2605.
Now I am still waiting for @johanste opinion in teams channel and appreciate if you could help ping him. @lmazuel
Currently Storage generated code
response.stream_download
in all download APIs (Example). Azure Core's StreamDownloadGenerator (whichstream_download
returns) takes adecompress
keyword arg to configure whether the response is automatically decompressed during download for relevant content encodings.We would like to be able to expose this option to our users but the generated code does not have a way to pass anything to the
stream_download
method. It would be great if there was a way to pass at leastdecompress
into this call from our hand-written code.The text was updated successfully, but these errors were encountered: