• 
      

    Update typing for some of the extensions code.

    Review Request #14633 — Created Oct. 8, 2025 and submitted

    Information

    Djblets
    release-5.x

    Reviewers

    This updates the typing for djblets.extensions.extension and
    djblets.extensions.manager, moving to some modern typing constructs
    and improving type safety for middleware.

    This work is in preparation for some changes to ExtensionManager to
    reduce side effects during reloading.

    Unit tests pass.

    Summary ID
    Update typing for some of the extensions code.
    This updates the typing for `djblets.extensions.extension` and `djblets.extensions.manager`, moving to some modern typing constructs and improving type safety for middleware. This work is in preparation for some changes to `ExtensionManager` to reduce side effects during reloading.
    72b5a437c0c26a89201b481a149d8d7004859900
    Description From Last Updated

    Should we change this to be Mapping[str, Any]?

    daviddavid
    chipx86
    david
    1. 
        
    2. djblets/extensions/extension.py (Diff revision 2)
       
       
      Show all issues

      Should we change this to be Mapping[str, Any]?

    3. 
        
    chipx86
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-5.x (103d731)