Beispiel #1
0
def main():
    routes = [['/', HelloView]]

    web.run(web.Application, routes)
Beispiel #2
0
def run_web():  # pragma: no cover
    web.run(Application, get_routes())
Beispiel #3
0
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)
Beispiel #4
0
def run():  # pragma: no cover
    web.run(web.Application, routes)
Beispiel #5
0
def main():
    routes = [
        ['/', HelloView]
    ]

    web.run(web.Application, routes)