You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate to Cloud NDB to prepare for Python3 upgrade
This implementation is based on:
https://cloud.google.com/appengine/docs/standard/python3/migrating-to-cloud-ndb
- [x] Replaced Python 2 only NDB library with Cloud NDB `from google.cloud import ndb`
- [x] Introduces `appengine_config.py` to include third party libraries, which are not supported by GAE natively.
- [x] Includes `client_secret.json` in the App deployment to allow access to Datastore from app engine
- [x] Got rid of `travis.py` and added instructions to run tests via simple commands
- [x] Configured requests to use URLFetch See [this](https://cloud.google.com/appengine/docs/standard/python/issue-requests#requests)
- [x] Added basic logging for debugging
We have two requirements file at the moment:
- `local_requirements.txt`: This is required for local development only, See [this](https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27#local_development)
- `requirements.txt`: This is installed in the `lib` folder for local as well as deployed environment.
Changes from Google App engine console:
- [x] Added the role `Cloud Datastore Owner` to the service account to be able to access Datastore from app engine App.
0 commit comments