Did I find the right examples for you? yes no

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/t/o/tornado-bootstrap-HEAD/src/config/routes.py   tornado-bootstrap(Download)
import tornado.web
from handlers.entity import entity_handler, entities_handler
from models.entity import entity_repository
from util.database import session_factory
 
routes = [
    (r"/", entities_handler, {'repository': entity_repository(session_factory())}),
    (r"/([0-9]+)/", entity_handler, {'repository': entity_repository(session_factory())})