Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async Iterable Response #5659

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

CoolCat467
Copy link

@CoolCat467 CoolCat467 commented Dec 23, 2024

In this pull request, we fix the typing for what is allowed to be used as a response type, allowing responses to be AsyncIterable[str] or AsyncIterable[bytes].

Flask sans-io is used by Quart

Through a huge chain of things, this pull request fixes #5322, because pallets/quart#341 doesn't actually fix the root issue unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ResponseValue Typing issue
1 participant