-
Following code I am using to query my fastAPI endpoint to fetch data As 'StreamingTextResponse' is deprecated how do I use
|
Beta Was this translation helpful? Give feedback.
Answered by
lgrammel
Aug 8, 2024
Replies: 1 comment 1 reply
-
In your case,
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lgrammel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In your case,
StreamingTextResponse
is not doing anything special. You can just return a regular JS Response object: