Skip to content

Commit 1aa35ac

Browse files
committed
Update entry point
1 parent 8ebc703 commit 1aa35ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/function/function_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ async def shutdown_event():
3434
)
3535

3636

37-
async def main(req: func.HttpRequest, context: func.Context) -> func.HttpResponse:
38-
return await app.handle_async(req, context)
37+
# async def main(req: func.HttpRequest, context: func.Context) -> func.HttpResponse:
38+
# return await func.AsgiMiddleware(fastapi_app).handle_async(req, context)

0 commit comments

Comments
 (0)