跳到主要内容

openhands.integrations.github.github_service

GitHubService Objects

class GitHubService()

execute_graphql_query

async def execute_graphql_query(query: str,
variables: dict[str, Any]) -> dict[str, Any]

Execute a GraphQL query against the GitHub API.

get_suggested_tasks

async def get_suggested_tasks() -> list[SuggestedTask]

Get suggested tasks for the authenticated user across all repositories.

Returns:

  • PRs authored by the user
  • Issues assigned to the user