update type annotations

This commit is contained in:
David Lord 2021-05-11 14:41:45 -07:00
parent 3a5532b4ed
commit 1403d35e2a
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 10 additions and 7 deletions

View file

@ -704,7 +704,7 @@ class Flask(Scaffold):
session=session,
g=g,
)
rv.policies["json.dumps_function"] = json.dumps # type: ignore
rv.policies["json.dumps_function"] = json.dumps
return rv
def create_global_jinja_loader(self) -> DispatchingJinjaLoader: