don't use AnyStr for ResponseValue type
This commit is contained in:
parent
8886328822
commit
190dd4df86
3 changed files with 15 additions and 9 deletions
|
|
@ -186,7 +186,7 @@ def make_response(*args: t.Any) -> "Response":
|
|||
return current_app.response_class()
|
||||
if len(args) == 1:
|
||||
args = args[0]
|
||||
return current_app.make_response(args)
|
||||
return current_app.make_response(args) # type: ignore
|
||||
|
||||
|
||||
def url_for(endpoint: str, **values: t.Any) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue