

def normalize_accommodation(accommodation):
    result = {
        
    }
    for s in accommodation:
        if isinstance(s, dict):
            result.update(s)
        else:
            result[s] = True
    return result

dataset/ETHPy150Open openstack/shaker/shaker/engine/deploy.py normalize_accommodation/original