From 561dcfbca9f7be61df6a9f32ca92208005d90f2b Mon Sep 17 00:00:00 2001 From: Varad Meru Date: Thu, 3 Mar 2022 16:36:46 -0800 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e64e1f2..39b84d7 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,11 @@ Note that `azure-functions-worker` should not be included in this file as the Py The following code shows the use of `AsgiMiddleware`, which redirects the invocations to FastAPI handler. ```python + import azure.functions as func from FastAPIApp import app import nest_asyncio + nest_asyncio.apply() async def main(req: func.HttpRequest, context: func.Context) -> func.HttpResponse: