fix annotation for select_jinja_autoescape (#5808)
This commit is contained in:
commit
25642fd1fd
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