(self, type_)
Basic sanity check to avoid KeyErrors
Basic sanity check to avoid KeyErrors
Basic sanity check to avoid KeyErrors
def _check_type(self, type_):
        """
        Basic sanity check to avoid KeyErrors
        """
        if type_ not in (CacheConfig.Morlist, CacheConfig.Metadata):
            raise TypeError("Wrong cache type passed")
def _check_type ( self , type_ ) : if type_ not in ( CacheConfig . Morlist , CacheConfig . Metadata ) : raise TypeError ( "Wrong cache type passed" )