Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to pass values to the transaction function callback #758

Open
alexg93333 opened this issue Jan 19, 2024 · 1 comment
Open

Option to pass values to the transaction function callback #758

alexg93333 opened this issue Jan 19, 2024 · 1 comment

Comments

@alexg93333
Copy link

alexg93333 commented Jan 19, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants