<s> """<STR_LIT>""" <EOL> import logging <EOL> log = logging . getLogger ( __name__ ) <EOL> class BaseCache ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . data = None <EOL> def __get__ ( self , obj , obj_type ) : <EOL> if obj is None : <EOL> return self <EOL> return self . data <EOL> def __set__ ( self , obj , value ) : <EOL> self . data = value <EOL> class MemoryCache ( BaseCache ) : <EOL> """<STR_LIT>""" <EOL> pass </s>
