google.appengine.api.memcache.peek_multi

Gets multiple items from memcache along with their timestamp metadata.

This is the recommended way to do bulk peek() calls.

keys List of keys to look up. Keys may be strings or tuples of (hash_value, string). Google App Engine does the sharding and hashing automatically, though, so the hash value is ignored. To memcache, keys are just series of bytes, and not in any particular encoding.
key_prefix Prefix to prepend to all keys when talking to the server; not included in the returned dictionary.
namespace a string specifying an optional namespace to use in the request.

A dictionary of the keys and ItemWithTimestamps objects. Even if the key_prefix was specified, that key_prefix won't be on the keys in the returned dictionary.

Each ItemWithTimestamps object contains the item corresponding to the key, along with timestamp metadata - expiration timestamp, last access timestamp and delete timestamp (if the item is delete locked).