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

Credentials property for NDB from oauth2client unsupported #248

Closed
christophe-riolo opened this issue Mar 19, 2018 · 1 comment
Closed
Assignees
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@christophe-riolo
Copy link

christophe-riolo commented Mar 19, 2018

Hello,
Im my project I am making use of those features from oauth2client:
https://developers.google.com/api-client-library/python/guide/google_app_engine#credentials
https://developers.google.com/api-client-library/python/guide/google_app_engine#storage

Alas, upon reporting a bug I saw that the library was deprecated, but I did not find an equivalent here.

I will also at the same time report said bug here in case you will be porting the code.
When the credentials are stored in an entity that has a parent, you need to specify the parent to be able to retrieve the entity (see https://cloud.google.com/appengine/docs/standard/python/ndb/modelclass#class_methods method get_by_id). It is however impossible to specify the parent when using StorageByKeyName so the credentials are impossible to retrieve from entities that have a parent.

Thank you for the very clear and useful library.

Christophe

@theacodes
Copy link
Contributor

The discussion around Storage in this library is covered here: #33

As for your other question, it might be better to ask on Stackoverflow.

(Closing for now, happy to keep discussing)

@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants