#NEWLINE# @ util . deprecated ( "Specifying a 'type' and other namespace configuration with cache.get()/put()/etc. is deprecated. Specify 'type' and other namespace configuration to cache_manager.get_cache() and/or the Cache constructor instead." ) #NEWLINE# def _legacy_get_value( self , key , type , **kw ) : #NEWLINE# #INDENT# expiretime = kw . pop ( 'expiretime' , self . expiretime ) #NEWLINE# starttime = kw . pop ( 'starttime' , None ) #NEWLINE# createfunc = kw . pop ( 'createfunc' , None ) #NEWLINE# kwargs = self . nsargs . copy ( ) #NEWLINE# kwargs . update ( kw ) #NEWLINE# c = Cache ( self . namespace . namespace , type = type , ** kwargs ) #NEWLINE# return c . _get_value ( key , expiretime = expiretime , createfunc = createfunc , starttime = starttime )