data-driven-web-apps-with-flask
data-driven-web-apps-with-flask copied to clipboard
update view_modifiers
Based on email Michael sent me June 2020. Had to change the response function.
Thanks @josh-thurston ! Remind me about the details of the change you're after there? Also, why object
rather than Optional[str]
(which is also an improvement on str
):
... mimetype: object = None, template_file: object = None ...
Dang, dead silence. I wish @josh-thurston would've reminded @mikeckennedy about the purposed change. I'm curious because I have had no problem with the way it is now and I love this design pattern. I have used it in multiple flask projects.