forked from orbit-oss/flask
Changed the static annotated type of select_jinja_autoescape method in src/flask/sansio/app.py
This commit is contained in:
parent
85793d6c22
commit
dbd4c28825
1 changed files with 1 additions and 1 deletions
|
|
@ -533,7 +533,7 @@ class App(Scaffold):
|
|||
"""
|
||||
return DispatchingJinjaLoader(self)
|
||||
|
||||
def select_jinja_autoescape(self, filename: str) -> bool:
|
||||
def select_jinja_autoescape(self, filename: str | None) -> bool:
|
||||
"""Returns ``True`` if autoescaping should be active for the given
|
||||
template name. If no template name is given, returns `True`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue