Skip to content

Instantly share code, notes, and snippets.

View eric-optimizely's full-sized avatar

Eric Higgins eric-optimizely

View GitHub Profile

Keybase proof

I hereby claim:

  • I am eric-optimizely on github.
  • I am ericoptimizely (https://keybase.io/ericoptimizely) on keybase.
  • I have a public key whose fingerprint is 65E1 9475 48F0 59EB 090C 0D6F DAB5 F524 4F7D 1966

To claim this, I am signing this object:

@eric-optimizely
eric-optimizely / efficient_remote_api_ndb.py
Last active April 6, 2016 00:29
[gae] Fetching an unknown and potentially large number of Models from the Datastore (w/ NDB) using Remote API.
#!/usr/bin/python
"""
These commands can be run from the src/script directory, which makes remote_gae availble.
Important: Please use the Remote API with extreme caution, since it affects our production servers and Datastore.
Changes made to the production Datastore are often irreparable.
References:
* https://developers.google.com/appengine/articles/remote_api
* https://developers.google.com/appengine/docs/python/tools/remoteapi