AsyncClient and testing StreamingResponse in FastAPI #2629
Unanswered
denjas
asked this question in
Potential Issue
Replies: 0 comments
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.
-
This code works fine and receives data in chunked if the
appparameter forAsyncClientis not specified but waits for all parts and only after that gives the data if you specify theappparameter. Please help me figure out what the problem is. InFastAPII use the default settings forStreamingResponseand pass an asynchronous generator to it.I am using
httxforapitesting viapytestandpytest-asyncioBeta Was this translation helpful? Give feedback.
All reactions