• 
      

    Add typing for ConditionsWidget.

    Review Request #14273 — Created Dec. 16, 2024 and submitted

    Information

    Djblets
    release-5.x

    Reviewers

    This adds typing throughout ConditionsWidget, and fixes some issues
    that this unveiled. We had typing assumptions, potential unbound
    variables, and bad logic when choices or operators were None.

    This is in preparation for some upcoming work on the widget for better
    extensibility.

    Unit tests pass.

    Summary ID
    Add typing for ConditionsWidget.
    This adds typing throughout `ConditionsWidget`, and fixes some issues that this unveiled. We had typing assumptions, potential unbound variables, and bad logic when choices or operators were `None`. This is in preparation for some upcoming work on the widget for better extensibility.
    d34b4df8e70b9085ef74d428f360b891f7397e93
    Description From Last Updated

    This should be documented with a "Version Changed" in the method docstring.

    maubinmaubin
    maubin
    1. 
        
    2. djblets/forms/widgets.py (Diff revision 1)
       
       
      Show all issues

      This should be documented with a "Version Changed" in the method docstring.

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