• 
      

    Modernize github implementation and use Pydantic for parsing.

    Review Request #15122 — Created June 12, 2026 and updated

    Information

    Review Board
    release-9.x

    Reviewers

    This change updates our github client implementation to use Pydantic for
    parsing API payloads, and fixes up type hints and docstrings throughout.

    While working in the paginated resources, I realized that the start
    and per_page parameters weren't getting plumbed through at all, so
    I've fixed that as well.

    Ran unit tests.

    Summary ID
    Modernize github implementation and use Pydantic for parsing.
    This change updates our github client implementation to use Pydantic for parsing API payloads, and fixes up type hints and docstrings throughout. While working in the paginated resources, I realized that the way the page parameters were plumbed for the GitHubAPIPaginator wasn't actually working, and that given that GitHub API resources don't use a consistent name for the start parameter, I've baked the start and per_page values into the initial URL parameters instead of relying on the `request_kwargs` member. Testing Done: Ran unit tests.
    myylkmlorkqwkztrmunzoxxvoszokpqp
    Description From Last Updated

    closing bracket does not match indentation of opening bracket's line Column: 9 Error code: E123

    reviewbot reviewbot
    Checks run (1 failed, 1 succeeded)
    flake8 failed.
    JSHint passed.

    flake8

    david
    Review request changed
    Commits:
    Summary ID
    Modernize github implementation and use Pydantic for parsing.
    This change updates our github client implementation to use Pydantic for parsing API payloads, and fixes up type hints and docstrings throughout. While working in the paginated resources, I realized that the way the page parameters were plumbed for the GitHubAPIPaginator wasn't actually working, and that given that GitHub API resources don't use a consistent name for the start parameter, I've baked the start and per_page values into the initial URL parameters instead of relying on the `request_kwargs` member. Testing Done: Ran unit tests.
    myylkmlorkqwkztrmunzoxxvoszokpqp
    Modernize github implementation and use Pydantic for parsing.
    This change updates our github client implementation to use Pydantic for parsing API payloads, and fixes up type hints and docstrings throughout. While working in the paginated resources, I realized that the way the page parameters were plumbed for the GitHubAPIPaginator wasn't actually working, and that given that GitHub API resources don't use a consistent name for the start parameter, I've baked the start and per_page values into the initial URL parameters instead of relying on the `request_kwargs` member. Testing Done: Ran unit tests.
    myylkmlorkqwkztrmunzoxxvoszokpqp

    Checks run (2 succeeded)

    flake8 passed.
    JSHint passed.