Why does aiter_raw raise StreamConsumed but aiter_bytes doesn't ? #2123
Unanswered
adnaanbheda
asked this question in
Potential Issue
Replies: 2 comments 2 replies
-
Could you include a super simple example that demonstrates the difference in behaviour? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Sorry for the late response. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What was the thought process behind this design choice ?
I'd expect both of the functions to behave in the same manner but turns out they're very different, had to read through the inner workings to figure out what was happening !
Also, when does it make sense to use
aiter_raw/aiter_bytes, examples in docs will also help explain their behavior better if we want to stick to this.Beta Was this translation helpful? Give feedback.
All reactions