Skip to content

Commit

Permalink
Merge pull request #3381 from pcavalar/typing-loader-autoescape
Browse files Browse the repository at this point in the history
template: type BaseLoader autoescape kwarg as optional
  • Loading branch information
bdarnell authored Jun 7, 2024
2 parents 816ef01 + 7140b6a commit 48908cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornado/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ class BaseLoader(object):

def __init__(
self,
autoescape: str = _DEFAULT_AUTOESCAPE,
autoescape: Optional[str] = _DEFAULT_AUTOESCAPE,
namespace: Optional[Dict[str, Any]] = None,
whitespace: Optional[str] = None,
) -> None:
Expand Down

0 comments on commit 48908cf

Please sign in to comment.