Lines Matching refs:ndb
38 from google.appengine.ext import ndb
55 class CachedPickledString(ndb.Model):
56 value = ndb.BlobProperty()
57 expire_time = ndb.DateTimeProperty()
90 to_get.append(ndb.Key('CachedPickledString',
92 to_get.append(ndb.Key('CachedPickledString',
94 ndb.get_multi_async(to_get)
100 entity = ndb.Key('CachedPickledString', namespaced_key).get(
101 read_policy=ndb.EVENTUAL_CONSISTENCY)
110 entity = ndb.Key('CachedPickledString', namespaced_key).get(
111 read_policy=ndb.EVENTUAL_CONSISTENCY)
164 ndb.delete_multi([ndb.Key('CachedPickledString', internal_key),
165 ndb.Key('CachedPickledString', external_key)])
170 ndb.delete_multi(CachedPickledString.GetExpiredKeys())