This is the recommended way to do bulk peek() calls.
Args
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.
Returns
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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-11-14 UTC."],[[["`peek_multi` is the recommended method for making bulk `peek()` calls to the memcache."],["It retrieves multiple items from memcache, along with their timestamp metadata, using a list of keys provided."],["Keys can be strings or tuples, with the hash value being ignored by Google App Engine."],["The function allows for an optional `key_prefix` and `namespace` to be specified for the keys."],["It returns a dictionary where keys correspond to `ItemWithTimestamps` objects containing the item's content, expiration, access, and delete timestamps."]]],[]]