firebase / firebase-admin-python

Firebase Admin Python SDK
https://firebase.google.com/docs/admin/setup
Apache License 2.0
988 stars 300 forks source link

Option to pass values to the transaction function callback #758

Open alexg93333 opened 5 months ago

alexg93333 commented 5 months ago

Python SDK:

from firebase_admin import db
db.reference(f"{ref}").transaction(increment_value)  

How can I pass variables to the "increment_value" function callback? Is it even possible?

google-oss-bot commented 5 months ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.