File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ Unreleased
66- Fix type hint for `cli_runner.invoke `. :issue: `5645 `
77- ``flask --help `` loads the app and plugins first to make sure all commands
88 are shown. :issue: 5673`
9+ - Mark sans-io base class as being able to handle views that return
10+ ``AsyncIterable ``. This is not accurate for Flask, but makes typing easier
11+ for Quart. :pr: `5659 `
912
1013
1114Version 3.1.0
Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3+ import collections .abc as cabc
34import typing as t
45
56if t .TYPE_CHECKING : # pragma: no cover
1718 t .Mapping [str , t .Any ],
1819 t .Iterator [str ],
1920 t .Iterator [bytes ],
21+ cabc .AsyncIterable [str ], # for Quart, until App is generic.
22+ cabc .AsyncIterable [bytes ],
2023]
2124
2225# the possible types for an individual HTTP header
You can’t perform that action at this time.
0 commit comments