tree: cd3ea0c3e11ac9d5e4c36436caed5afdc263bae7 [path history] [tgz]
  1. gitiles/
  2. handlers/
  3. http/
  4. model/
  5. test/
  6. __init__.py
  7. appengine_util.py
  8. caches.py
  9. dashboard_util.py
  10. iterator.py
  11. pipeline_wrapper.py
  12. pipelines.py
  13. pubsub_util.py
  14. README.md
  15. testcase.py
  16. token.py
appengine/findit/gae_libs/README.md

gae_libs

The gae_libs module is for shared code that depends on App Engine APIs (gae is short for Google App Engine), eg: an NDB model that supports keeping multiple versions of the same information like configuration.

It also depends on the sibling libs module, and provides gae wrappers for the code there, e.g., a Gitiles client with data cached in memcache on App Engine.

How to use?

Create symbolic links to both gae_libs and libs in the same directory PARENT_DIR, and ensure that PARENT_DIR is in sys.path or PYTHONPATH.

The usage would look like: from gae_libs import API_MODULE_NAME