quart
quart copied to clipboard
Accept AsyncIterables being passed to Response
Fixes pallets/flask#5322
Checklist:
- [x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
- [x] Add or update relevant docs, in the docs folder and in code.
- [ ] Add an entry in
CHANGES.rstsummarizing the change and linking to the issue. - [ ] Add
.. versionchanged::entries in any relevant code docs. - [ ] Run
pre-commithooks and fix any issues. - [ ] Run
pytestandtox, no tests failed.
I want to add tests for this somehow
@davidism ready for review, would like extra eyes on the test specifically
Add an entry in CHANGES.rst summarizing the change and linking to the issue.
I've been told I don't need to do this and it will be gotten to later.
It would be cool if ResponseValue in typing.py could be updated too but adding AsyncIterator[bytes] or similar causes a lot of errors.
Is there anything stopping this from being merged?
Merged manually in a80358bbe27a10f5ec709760e62ac3930bbedee7 to fix conflict