Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
def
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
62
web.run_app(init())
Callers
1
web_classview.py
File · 0.70
Calls
2
add_get
Method · 0.80
add_post
Method · 0.80
Tested by
no test coverage detected