<s> "<STR_LIT>" <EOL> from django . core . cache . backends . base import BaseCache , DEFAULT_TIMEOUT <EOL> class DummyCache ( BaseCache ) : <EOL> def __init__ ( self , host , * args , ** kwargs ) : <EOL> BaseCache . __init__ ( self , * args , ** kwargs ) <EOL> def add ( self , key , value , timeout = DEFAULT_TIMEOUT , version = None ) : <EOL> key = self . make_key ( key , version = version ) <EOL> self . validate_key ( key ) <EOL> return True <EOL> def get ( self , key , default = None , version = None ) : <EOL> key = self . make_key ( key , version = version ) <EOL> self . validate_key ( key ) <EOL> return default <EOL> def set ( self , key , value , timeout = DEFAULT_TIMEOUT , version = None ) : <EOL> key = self . make_key ( key , version = version ) <EOL> self . validate_key ( key ) <EOL> def delete ( self , key , version = None ) : <EOL> key = self . make_key ( key , version = version ) <EOL> self . validate_key ( key ) <EOL> def get_many ( self , keys , version = None ) : <EOL> return { } <EOL> def has_key ( self , key , version = None ) : <EOL> key = self . make_key ( key , version = version ) <EOL> self . validate_key ( key ) <EOL> return False <EOL> def set_many ( self , data , timeout = DEFAULT_TIMEOUT , version = None ) : <EOL> pass <EOL> def delete_many ( self , keys , version = None ) : <EOL> pass <EOL> def clear ( self ) : <EOL> pass <EOL> class CacheClass ( DummyCache ) : <EOL> pass </s>
