heimdallr.utilities.server.github_org_generators.yield_prs

heimdallr.utilities.server.github_org_generators.yield_prs(iterable: Iterable[Repository], state: Union[str, StateEnum] = StateEnum.open, sort: Union[str, PullRequestSortEnum] = PullRequestSortEnum.updated, direction: Union[str, DirectionEnum] = DirectionEnum.desc, base: str = NotSet, head: str = NotSet) Generator[PullRequest, None, None][source]

Read more: https://docs.github.com/en/rest/reference/pulls#list-pull-requests–parameters

Parameters
  • iterable

  • state

  • sort

  • direction

  • base

  • head

Returns: