def get_feature_segement_list_with_api(client: APIClient, query_params: dict) -> dict:  # type: ignore[type-arg]
    """
    Returns feature segments using the provided test client.

    :param client: DRF api client to use to make the request
    :param query_params: A Mapping object used as query params for filtering

    """

    url = reverse("api-v1:features:feature-segment-list")
    return get_json_response(client, url, query_params)

    Returns feature segments using the provided test client.

    :param client: DRF api client to use to make the request
    :param query_params: A Mapping object used as query params for filtering

    
api/tests/integration/helpers.py