Value to set. Any type. If complex, will be pickled.
time
Optional expiration time, either relative number of seconds
from current time (up to 1 month), or an absolute Unix epoch time.
By default, items never expire, though items may be evicted due to
memory pressure. Float values will be rounded up to the nearest
whole second.
min_compress_len
Ignored option for compatibility.
namespace
a string specifying an optional namespace to use in
the request.
[[["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."],[[["This function `add` sets a key's value in memcache only if the key does not already exist."],["The `key` and `value` are required arguments, with the `value` supporting any data type, including complex types that will be pickled."],["The `time` argument sets an optional expiration for the item, either as a relative duration in seconds or as an absolute Unix epoch time."],["An optional `namespace` argument can be used to specify a namespace for the request."],["The function returns `True` if the item is added successfully, and `False` if there was an error."]]],[]]