Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

Python 2 is no longer supported by the community. We recommend that you migrate Python 2 apps to Python 3.
Stay organized with collections Save and categorize content based on your preferences.

google.appengine.ext.ndb.google_imports module

Summary

Dynamically decide from where to import Google App Engine modules.

All other NDB code should import its Google App Engine modules from this module. If necessary, add new imports here (in both places).

Contents

google.appengine.ext.ndb.google_imports.set_appengine_imports()source