• 
      

    Update typing: Dict[...]

    Review Request #15097 — Created June 5, 2026 and updated

    Information

    Review Board
    master

    Reviewers

    This change updates legacy type hints that use the old Dict[...] form
    to either be dict[...], Mapping[...], JSONDict, or KwargsDict as
    appropriate.

    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: Dict[...]
    This change updates legacy type hints that use the old `Dict[...]` form to either be `dict[...]`, `Mapping[...]`, `JSONDict`, or `KwargsDict` as appropriate. 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.
    zztsqprptknpmtvoktssqptwsykuoyyt
    Description From Last Updated

    'typing.Union' imported but unused Column: 1 Error code: F401

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

    flake8