• 
      

    Update typing: Union[...]

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

    Information

    Review Board
    release-9.x

    Reviewers

    This change updates legacy type hints that use the old Union[...] form
    to be (... | ...) instead.

    Because I want to keep this tightly focused and easy to review, this
    does not make any changes to other imports, documentation, etc., even
    within the changed lines. Those will come in future changes.

    Ran unit tests.

    Summary ID
    Update typing: Union[...]
    This change updates legacy type hints that use the old `Union[...]` form to be `(... | ...)` instead. Because I want to keep this tightly focused and easy to review, this does not make any changes to other imports, documentation, etc., even within the changed lines. Those will come in future changes. Testing Done: Ran unit tests.
    ztwqsqnlwluxkvoxvrlxvotwnqutuzxp
    Description From Last Updated

    line too long (81 > 79 characters) Column: 80 Error code: E501

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

    flake8

    david
    Review request changed
    Commits:
    Summary ID
    Update typing: Union[...]
    This change updates legacy type hints that use the old `Union[...]` form to be `(... | ...)` instead. Because I want to keep this tightly focused and easy to review, this does not make any changes to other imports, documentation, etc., even within the changed lines. Those will come in future changes. Testing Done: Ran unit tests.
    ztwqsqnlwluxkvoxvrlxvotwnqutuzxp
    Update typing: Union[...]
    This change updates legacy type hints that use the old `Union[...]` form to be `(... | ...)` instead. Because I want to keep this tightly focused and easy to review, this does not make any changes to other imports, documentation, etc., even within the changed lines. Those will come in future changes. Testing Done: Ran unit tests.
    ztwqsqnlwluxkvoxvrlxvotwnqutuzxp

    Checks run (2 succeeded)

    flake8 passed.
    JSHint passed.