def _destringfy(self, src_str):
        if len(src_str) < 2:
            raise ValueError('String length must be at least 2.')
        
        t, str_ = src_str[0], src_str[1:]
        if t == MARSHAL:
            obj = marshal.loads(str_)
        elif t == PICKLE:
            obj = pickle.loads(str_)
        else:
            raise ValueError('String must contain a right type indicator.')
        return obj
dataset/ETHPy150Open chineking/cola/cola/core/mq/store.py/Store._destringfy/original