1.1.3. biggr_models.routes#
Functions#
|
Helper function to create a tornado.routing.URLSpec. |
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()#