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

Function index

tests/test_async.py:46–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 @app.route("/", methods=["GET", "POST"])
45 @app.route("/home", methods=["GET", "POST"])
46 async def index():
47 await asyncio.sleep(0)
48 return request.method
49
50 @app.errorhandler(AppError)
51 async def handle(_):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected