def domain_update(request, domain_id, name=None, description=None,
                  enabled=None):
    manager = keystoneclient(request, admin=True).domains
    try:
        response = manager.update(domain_id, name=name,
                                  description=description, enabled=enabled)
    except Exception as e:
        LOG.exception("Unable to update Domain: %s" % domain_id)
        raise e
    return response
dataset/ETHPy150Open openstack/horizon/openstack_dashboard/api/keystone.py/domain_update/original