def METHOD_NAME() -> Iterable[Dict]:
    url = f'https://api.github.com/repos/{owner}/{repo}/pulls'
    while True:
        response = github.get(url, params={'state': 'all'})
        response.raise_for_status()
        for pr in response.json():
            yield pr
        if 'next' in response.links:
            url = response.links['next']['url']
        else:
            return