Checks run (1 failed, 1 succeeded)
Update typing: Optional[...] part 2
Review Request #15113 — Created June 12, 2026 and updated
This change updates legacy type hints that use the old
Optional[...]form
to be(... | None)instead. This change covers thecodesafety,datagrids,
anddiffviewerapps, along with some internal stuff incontriband
cmdline.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.