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

Unable to dynamically assign db collections path #61

Open
anbuchelva opened this issue Apr 29, 2023 · 0 comments
Open

Unable to dynamically assign db collections path #61

anbuchelva opened this issue Apr 29, 2023 · 0 comments

Comments

@anbuchelva
Copy link

Make sure these boxes are checked before submitting your issue:

[x] Check that your version of Python is 3.4+
[x] Check that you are on the newest version of Pyrebase
[] Check that Email/password provider is enabled in your Firebase dashboard under Auth -> Sign In Method.

Please don't be discouraged if you do not get a response to your issue quickly,
I maintain Pyrebase for fun and don't always have as much free time as I'd like.

Thank you for helping make Pyrebase better!


I tried to get the existing values from the firebase db using this following code, which works fine.

existing_data = db.child('account_group').child(new_member).get().val()

However, if i change it to dynamically assign the path of db it doesn't work.

member_path = db.child('account_group')
existing_data = member_path.child(new_member).get().val()

Is there a way to fix?

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

No branches or pull requests

1 participant