Clears all of the variables currently stored in this cache
Retrieves the value of the specified variable from the cache
str, NoneType
The name of the variable for which the value should be returned
Any
The value to return if the variable does not exist in the cache
None
The value of the specified key if it exists in the cache or the default_Value if it does not
Returns a tuple containing multiple values from the cache specified by the keys arguments
str
One or more variable names stored in the cache that should be returned by the grab function. The order of these arguments are preserved by the returned tuple.
Any
If one or more of the keys is not found within the cache, this value will be returned as the missing value.
A tuple containing values for each of the keys specified in the arguments
Adds one or more variables to the cache.
Any
Variables can be specified by two consecutive arguments where the first argument is a key and the second one the corresponding value. For example:
put('a', 1, 'b', False)
would add two variables to the cache where the value of a would be 1 and the value of b would be False.
Any
Keyword arguments to be added to the cache, which are name value pairs like standard keyword named arguments in Python. For example:
put(a=1, b=False)
would add two variables to the cache where the value of a would be 1 and the value of b would be False.