MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / init

Function init

examples/web_srv.py:48–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def init():
49 app = web.Application()
50 app.router.add_get("/", intro)
51 app.router.add_get("/simple", simple)
52 app.router.add_get("/change_body", change_body)
53 app.router.add_get("/hello/{name}", hello)
54 app.router.add_get("/hello", hello)
55 return app
56
57
58web.run_app(init())

Callers 1

web_srv.pyFile · 0.70

Calls 1

add_getMethod · 0.80

Tested by

no test coverage detected