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
Hi Folks. So I am Having issues Connecting the local firebase emulator with python firebase functions.recently i was trying to migrate my javascript code to python to leverage the python libraries and its ecosystem. If i use a Callable function in javascript to write data to the firebase with firebase Admin privilege it does so, but when i am trying to use with python, The Callable function gets called but if use the firebase Admin package to write data to the firestore the data are not written. is there Anything that I am Missing?
MacOS Ventura with Python 3.11 and venv.
The text was updated successfully, but these errors were encountered:
initialize_app is in the docs and you are probably already doing this.
Setting your GCLOUD_PROJECT explicitly is important, you might not be doing this.
When you start the emulator, make sure you use the -p <GCLOUD_PROJECT> arg. The default project name is something like firebase-default-emulator-project. Your default project name in the Python SDK will be plucked from your gcloud environment credentials. In my case, when the project names were mismatched, I'd get a lot of silent "failures" to write data - it was just that the data were being written to the wrong project namespace's default firebase.
EDIT: I should add, I'm using MacOS Monterey and Python 3.11.4 with venv.
Hi Folks. So I am Having issues Connecting the local firebase emulator with python firebase functions.recently i was trying to migrate my javascript code to python to leverage the python libraries and its ecosystem. If i use a Callable function in javascript to write data to the firebase with firebase Admin privilege it does so, but when i am trying to use with python, The Callable function gets called but if use the firebase Admin package to write data to the firestore the data are not written. is there Anything that I am Missing?
MacOS Ventura with Python 3.11 and venv.
The text was updated successfully, but these errors were encountered: