• 
      

    Fix a Python 3.10-ism that crept in.

    Review Request #14846 — Created Feb. 23, 2026 and submitted — Latest diff uploaded

    Information

    Review Board
    release-7.1.x

    Reviewers

    One call to cast() was using dict[] syntax, which only works on
    Python 3.10 and up.

    • Ran unit tests.
    • Scanned through the codebase for all usage of cast() (as well as
      annotations without __future__.annotations in the file, TypeAlias,
      and isinstance()) to verify we didn't have this problem elsewhere
      in a place not covered by tests.

    Commits

    Files