Create a custom Tornado decorator with functools
Decorators are neat. They let you do things in much the same way javascript’s anonymous functions work. So why use a decorator? Why not create an override (or overload, depending on your vernacular) to accomplish the same sort of goal? I had a problem today where I needed to ensure a specific variable was coming …


Recent Comments