Azure / Azure/azure-functions-python-library
Can't change default function name while using FastAPI
Open
area:python-functions
- Dominant language
- Python
- Stars
- 179
- Forks
- 79
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 2
Description
I've been trying to set a custom name while using FastAPI and couldn't find the proper way. It always deploys my function with the name "http_app_func," making deploying multiple functions to the same app impossible.
Has anyone been successful with this task?
This is the syntax I thought it would work:
app = func.AsgiFunctionApp(app=fastapi_app, http_auth_level=func.AuthLevel.FUNCTION).function_name(name="HttpTest")
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.