firebase-functions-python
firebase-functions-python copied to clipboard
The `logger` in `firebase_functions` doesn't seem to provide reasonable support for exceptions. In [the example](https://firebase.google.com/docs/functions/writing-and-viewing-logs?gen=2nd#python_2), firebase suggests extracting a portion of the error and including it: ``` try ... except:...
``` @app.post("/api/test") def stuff(): abc = flask.request.get_data() # abc= flask.request.get_json(); print("Jsondata:", abc) # name = flask.request.args.get('name') # print("name:", name) data = {'Message': 'Hello World'} return jsonify(data), 200 ``` ``` @https_fn.on_request()...
Invoking an `update` or `set` operation to write to a Firestore document via the Firestore client does not work when called in a Firestore Emulator Cloud Trigger. Everything works fine...
Hi, is it possible to somehow configure the option that Cloud Run has for CPU allocation? It's like this in the Run YAML: ```yaml apiVersion: serving.knative.dev/v1 kind: Service metadata: name:...
Would it make sense to support async functions here, so that the event handlers could be called in an async manner and consequently call async libraries? This way a single...
Hi there, There doesn't seem to be a way to enable retry on Firebase Storage `storage_fn` and Firestore `firestore_fn` background functions. It would really be helpful if we can enable...
[REQUIRED] Environment info firebase-tools:12.4.7 Platform: windows with python version of 3.11 [REQUIRED] Test case i have code like below in for firebase cloud function in main.py. when i test function...
The triggers described here are not available yet in the library: https://firebase.google.com/docs/functions/auth-events
This is on the emulator with v0.1.1. I have not tested this as a deployed function. Not sure if this is my mistake, but I can't seem to access the...
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...