def METHOD_NAME(self, request: Request, organization) -> Response:
    queryset = OrganizationMember.objects.filter(
        Q(user_id__isnull=True),
        Q(invite_status=InviteStatus.REQUESTED_TO_BE_INVITED.value)
        | Q(invite_status=InviteStatus.REQUESTED_TO_JOIN.value),
        organization=organization,
    ).order_by("invite_status", "email")
    if organization.get_option("sentry:join_requests") is False:
        queryset = queryset.filter(invite_status=InviteStatus.REQUESTED_TO_BE_INVITED.value)
    return self.paginate(
        request=request,
        queryset=queryset,
        on_results=lambda x: serialize(
            x, request.user, OrganizationMemberWithTeamsSerializer()
        ),
        paginator_cls=OffsetPaginator,
    )