Skip to content

Instantly share code, notes, and snippets.

View RawToast's full-sized avatar
🐾
走りたい!

RawToast

🐾
走りたい!
View GitHub Profile
from tornado.web
class route(object):
"""
decorates RequestHandlers and builds up a list of routables handlers
Tech Notes (or "What the *@# is really happening here?")
--------------------------------------------------------
Everytime @route('...') is called, we instantiate a new route object which
saves off the passed in URI. Then, since it's a decorator, the function is