示例#1
0
def get(key):
    value = redis_client.get(key)
    if value:
        return cPickle.loads(value)
    return None
示例#2
0
def get(key):
    value = redis_client.get(key)
    if value:
        return cPickle.loads(value)
    return None
示例#3
0
 def get_login_id(self):
     return redis_client.get(self.key)