예제 #1
0
def get_stored_resource(resource, user_id):
    return json.loads(REDIS.hget(user_id, resource))
예제 #2
0
def get_stored_resource(resource, user_id):
    return json.loads(REDIS.hget(user_id, resource))
예제 #3
0
def get_api_token(user_id):
    return REDIS.hget(user_id, 'token')
예제 #4
0
def get_api_token(user_id):
    return REDIS.hget(user_id, 'token')