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