Director of Engineering with expertise in Team building, Leadership, DevOps. 10+ years of experience in software development. Currently working at Open Financial.
Then you can use main.handler as your entry point for the function. Furthermore, if you want to handle all routing through FastAPI, then declare ANY /{proxy+} in your http event in serverless configuration and you're done.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Possible to deploy fastapi via Serverless path? Do you suggest to do so? :)
You can stick it in a container and ship it to the cloud for sure. Unless that's not what you mean?
Hey Mazin,
You can use mangum ASGI adapter for serverless.
In your main.py
Then you can use
main.handler
as your entry point for the function. Furthermore, if you want to handle all routing through FastAPI, then declareANY /{proxy+}
in your http event in serverless configuration and you're done.