• 
      

    Update typing: Optional[...]

    Review Request #15040 — Created May 11, 2026 and submitted

    Information

    Djblets
    master

    Reviewers

    This change updates legacy type hints that use the old Optional[...] form
    to use modern union notation instead.

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

    Ran unit tests.

    Summary ID
    Update typing: Optional[...]
    This change updates legacy type hints that use the old `Optional[...]` form to use modern union notation instead. Because I want to keep this tightly focused and easy to review, this does not make any changes to other legacy type hints, documentation, etc., even within the changed lines. Those will come in future changes. Testing Done: Ran unit tests.
    wuzuqmxwnltzwtnzzxvznuvolkvssqwk
    maubin
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (2b09557)