Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to dynamically assign db collections path #61

@anbuchelva

Description

@anbuchelva

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions