Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ dispatch_request
Method
dispatch_request
tests/test_async.py:25–27 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
23
methods = [
"GET"
,
"POST"
]
24
25
async
def
dispatch_request(self):
26
await asyncio.sleep(0)
27
return
request.method
28
29
30
class
AsyncMethodView(MethodView):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected