You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -18,13 +17,13 @@ This library contains HttpV2 extensions for FastApi Request/Response types to us
18
17
### Instructions
19
18
1. Follow the guide to [create an app](https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-cli-python?tabs=windows%2Cbash%2Cazure-cli%2Cbrowser).
20
19
2. Ensure your app is using programming model v2 and contains a http trigger function.
21
-
3. Add azurefunctions-extensions-http-fastapi to your requirement.txt
22
-
4. Import Request and different types of responses from azure.functions.extensions.fastapi in your httptrigger functions.
23
-
5. Change the request and response types to ones imported from azure.functions.extensions.fastapi.
20
+
3. Add ```azurefunctions-extensions-http-fastapi``` to your requirements.txt
21
+
4. Import Request and different types of responses from ```azurefunctions.extensions.http.fastapi``` in your HttpTrigger functions.
22
+
5. Change the request and response types to ones imported from ```azurefunctions.extensions.http.fastapi```.
24
23
6. Run your function app and try it out!
25
24
26
25
### Bind to the FastApi-type
27
-
The Azure Functions Extension FastApi library for Python allows you to create a function app with FastApi Request or Response types. When your function runs, you will receive the request of FastApi Request type and you can return a FastApi response type instance. FastApi is one of top popular python web framework which provides elegant and powerful request/response types and functionalities to users. With this integration, you are empowered to use request/response the same way as using them in native FastApi. A good example is you can do http streaming upload and streaming download now! Feel free to check out [Fastapi doc] for further reference (https://fastapi.tiangolo.com/reference/responses/?h=custom)
26
+
The Azure Functions Extensions Http FastApi library for Python allows you to create a function app with FastApi Request or Response types. When your function runs, you will receive the request of FastApi Request type and you can return a FastApi response type instance. FastApi is one of top popular python web framework which provides elegant and powerful request/response types and functionalities to users. With this integration, you are empowered to use request/response the same way as using them in native FastApi. A good example is you can do http streaming upload and streaming download now! Feel free to check out [Fastapi doc](https://fastapi.tiangolo.com/reference/responses/?h=custom) for further reference.
0 commit comments