FastAPI as python firebase functions - how to enable it #10382
Replies: 4 comments
-
|
The same question. |
Beta Was this translation helpful? Give feedback.
-
|
I am also looking for same solution. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I'm trying to deploy my app with firebase function, have you found a solution? |
Beta Was this translation helpful? Give feedback.
-
|
This guy seems to have made progress by defining an ASGI wrapper: https://www.reddit.com/r/Firebase/comments/1gw8zky/can_i_deploy_fastapi_code_in_firebase_functions/ I was able to get it running as well. In the mean time a gist of No-Improvement4294's code that I modified can be found here: https://gist.github.com/unacceptable/747e1cb9d1fbe450d3b97e8c8ee1dc3d |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
below is how flask is enabled in Firebase Functions.
But don't see similar things in FastAPI
Operating System
macOS
Operating System Details
No response
FastAPI Version
0.103.2
Pydantic Version
2.4.2
Python Version
3.11
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions