def main(): routes = [['/', HelloView]] web.run(web.Application, routes)
def run_web(): # pragma: no cover web.run(Application, get_routes())
from chilero import web class Home(web.View): def get(self): return web.Response('Hello World!') routes = [ ['/', Home] ] if __name__ == '__main__': web.run(web.Application, routes)
def run(): # pragma: no cover web.run(web.Application, routes)
def main(): routes = [ ['/', HelloView] ] web.run(web.Application, routes)