

def get(self, key, timeout=None):
    if timeout:
        raise NotImplementedError
    obj = self.col.find_one({
        '_id': key,
    })
    if obj:
        return pickle.loads(obj['value'])

dataset/ETHPy150Open tweepy/tweepy/tweepy/cache.py MongodbCache.get/original