don't use AnyStr for ResponseValue type

This commit is contained in:
David Lord 2022-03-15 07:36:21 -07:00
parent 8886328822
commit 190dd4df86
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 15 additions and 9 deletions

View file

@ -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: