Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark Template autoescape kwarg as Optional #2715

Merged

Conversation

mivade
Copy link
Contributor

@mivade mivade commented Jul 26, 2019

The documentation indicates setting autoescape=None will disable autoescaping but the previous type hinting did not allow a value of None.

@bdarnell
Copy link
Member

bdarnell commented Aug 2, 2019

Thanks!

@bdarnell bdarnell merged commit 2f33503 into tornadoweb:master Aug 2, 2019
@mivade mivade deleted the template-optional-autoescape-typing branch August 2, 2019 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants