def get_graphql_question_discussion_edges(
    *,
    settings: Settings,
    after: str | None = None,
) -> list[DiscussionsEdge]:
    """Fetch discussion edges from GitHub GraphQL API.

    Args:
        settings: Configuration settings
        after: Cursor for pagination, if any

    Returns:
        List of discussion edges from the GraphQL response
    """
    data = get_graphql_response(
        settings=settings,
        query=discussions_query,
        after=after,
    )
    graphql_response = DiscussionsResponse.model_validate(data)
    return graphql_response.data.repository.discussions.edges
Fetch discussion edges from GitHub GraphQL API.

    Args:
        settings: Configuration settings
        after: Cursor for pagination, if any

    Returns:
        List of discussion edges from the GraphQL response
    
.github/actions/people/people.py