Skip to content
Myr

Changed the static annotated type of select_jinja_autoescape method in src/flask/sansio/app.py

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by subhajitsaha01 · committed by subhajitsaha01 · parent 85793d6 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/flask/sansio/app.py+1 added-1 removed
531 unmodified lines
532 .. versionadded:: 0.7533 """534 return DispatchingJinjaLoader(self)535536 def select_jinja_autoescape(self, filename: str) -> bool:536 def select_jinja_autoescape(self, filename: str | None) -> bool:537 """Returns ``True`` if autoescaping should be active for the given538 template name. If no template name is given, returns `True`.539540 .. versionchanged:: 2.2
424 unmodified lines