-
I have the following main.py firebase function which I am trying to deploy using
Here is the function I deployed:
When I run the function locally by entering this command However, when I go to the Google Cloud Console, no functions appear. I am thinking that there must be a problem with the deployment. When I type:
I have done the following commands:
And I have the following installed libraires by running
I am running python version 3.11.9. Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found what I was missing to get the firebase cloud function working using python's Flask library. I had to register the flask app to use https_fn wrapper. Here is the code which now works when doing a
You can find more documentaiton in the following firebase docs: https://firebase.google.com/docs/functions/http-events?gen=2nd You can then access the test endpoint by going to |
Beta Was this translation helpful? Give feedback.
I found what I was missing to get the firebase cloud function working using python's Flask library. I had to register the flask app to use https_fn wrapper. Here is the code which now works when doing a
firebase deploy