@get('/:hypervisor/:host/guests/:guest_id/media_device')
def media_info(hypervisor, host, guest_id):
    response.content_type = "application/json"
    manager = create_manager(hypervisor, host)
    media_info = manager.media_info(guest_id)

    manager.logout()

    return json.dumps(media_info)
If the redis connection is already in distributed state use it
dataset/ETHPy150Open locaweb/simplestack/src/simplestack/server.py/media_info--crossover with--dataset/ETHPy150Open tschellenbach/Stream-Framework/stream_framework/storage/redis/structures/base.py/RedisCache._pipeline_if_needed