MCPcopy Create free account
hub / github.com/pallets/flask / AsyncView

Class AsyncView

tests/test_async.py:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21
22class AsyncView(View):
23 methods = ["GET", "POST"]
24
25 async def dispatch_request(self):
26 await asyncio.sleep(0)
27 return request.method
28
29
30class AsyncMethodView(MethodView):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected