We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64dd080 + dbd4c28 commit 25642fdCopy full SHA for 25642fd
src/flask/sansio/app.py
@@ -533,7 +533,7 @@ def create_global_jinja_loader(self) -> DispatchingJinjaLoader:
533
"""
534
return DispatchingJinjaLoader(self)
535
536
- def select_jinja_autoescape(self, filename: str) -> bool:
+ def select_jinja_autoescape(self, filename: str | None) -> bool:
537
"""Returns ``True`` if autoescaping should be active for the given
538
template name. If no template name is given, returns `True`.
539
0 commit comments