module documentation

Base Cache class.
Constant DEFAULT​_TIMEOUT Undocumented
Constant MEMCACHE​_MAX​_KEY​_LENGTH Undocumented
Function default​_key​_func Default function to generate keys.
Function get​_key​_func Function to decide which key function to use.
Function memcache​_key​_warnings Undocumented
DEFAULT_TIMEOUT =

Undocumented

Value
object()
MEMCACHE_MAX_KEY_LENGTH: int =

Undocumented

Value
250
def default_key_func(key, key_prefix, version):

Default function to generate keys.

Construct the key used by all other methods. By default, prepend the key_prefix. KEY_FUNCTION can be used to specify an alternate function with custom key making behavior.

def get_key_func(key_func):

Function to decide which key function to use.

Default to default_key_func.

def memcache_key_warnings(key):

Undocumented