def role_assignments_list(request, project=None, user=None, role=None,
                          group=None, domain=None, effective=False,
                          include_subtree=True):
    if 3 < VERSIONS.active:
        raise exceptions.NotAvailable

    if include_subtree:
        domain = None

    manager = keystoneclient(request, admin=True).role_assignments

    return manager.list(project=project, user=user, role=role, group=group,
                        domain=domain, effective=effective,
                        include_subtree=include_subtree)
dataset/ETHPy150Open openstack/horizon/openstack_dashboard/api/keystone.py/role_assignments_list/swapped operands of `<`