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

Class AsyncMethodView

tests/test_async.py:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30class AsyncMethodView(MethodView):
31 async def get(self):
32 await asyncio.sleep(0)
33 return "GET"
34
35 async def post(self):
36 await asyncio.sleep(0)
37 return "POST"
38
39
40@pytest.fixture(name="async_app")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected