biggr_models.routes

1.1.3. biggr_models.routes#

Functions#

url(→ tornado.routing.URLSpec)

Helper function to create a tornado.routing.URLSpec.

get_routes()

Module Contents#

biggr_models.routes.url(pattern: str, handler: Type[tornado.web.RequestHandler], kwargs: Dict[str, Any] | None = None, name: str | None = None) tornado.routing.URLSpec#

Helper function to create a tornado.routing.URLSpec.

Using this function will cause the name argument to also be inserted as a URLSpec keyword argument. Usefull if the handler is (derived from) the DataHandler class.

biggr_models.routes.get_routes()#