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

Function init

examples/web_classview.py:54–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53
54def init():
55 app = web.Application()
56 app.router.add_get("/", index)
57 app.router.add_get("/get", MyView)
58 app.router.add_post("/post", MyView)
59 return app
60
61
62web.run_app(init())

Callers 1

web_classview.pyFile · 0.70

Calls 2

add_getMethod · 0.80
add_postMethod · 0.80

Tested by

no test coverage detected