forked from orbit-oss/flask
update typing tests for json
This commit is contained in:
parent
f8cb0b0dd5
commit
60b845ebab
2 changed files with 18 additions and 2 deletions
|
|
@ -7,7 +7,13 @@ if t.TYPE_CHECKING: # pragma: no cover
|
|||
|
||||
# The possible types that are directly convertible or are a Response object.
|
||||
ResponseValue = t.Union[
|
||||
"Response", str, bytes, list, t.Dict[str, t.Any], t.Iterator[str], t.Iterator[bytes]
|
||||
"Response",
|
||||
str,
|
||||
bytes,
|
||||
t.List[t.Any],
|
||||
t.Dict[str, t.Any],
|
||||
t.Iterator[str],
|
||||
t.Iterator[bytes],
|
||||
]
|
||||
|
||||
# the possible types for an individual HTTP header
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue