• 
      

    Add new resources, part 1/7.

    Review Request #14340 — Created Feb. 10, 2025 and submitted

    Information

    RBTools
    master

    Reviewers

    This change adds the following new resource implementations:
    - DefaultReviewerItemResource
    - DefaultReviewerListResource
    - ExtensionItemResource
    - ExtensionListResource
    - ReviewGroupItemResource
    - ReviewGroupListResource
    - ReviewGroupUserItemResource
    - ReviewGroupUserListResource
    - UserItemResource
    - UserListResource
    - UserFileAttachmentItemResource
    - UserFileAttachmentListResource (split out from old
    FileAttachmentListResource implementation)
    - ValidationResource

    • Ran unit tests.
    • Used the new resources from a test script and saw that everything
      worked as expected.
    Summary ID
    Add new resources, part 1/7.
    This change adds the following new resource implementations: - DefaultReviewerItemResource - DefaultReviewerListResource - ExtensionItemResource - ExtensionListResource - ReviewGroupItemResource - ReviewGroupListResource - ReviewGroupUserItemResource - ReviewGroupUserListResource - UserItemResource - UserListResource - UserFileAttachmentItemResource - UserFileAttachmentListResource (split out from old FileAttachmentListResource implementation) - ValidationResource Testing Done: - Ran unit tests. - Used the new resources from a test script and saw that everything worked as expected.
    4954d6d0cd1aec657a4d323f4e07bac9eb22a52b
    Description From Last Updated

    line too long (80 > 79 characters) Column: 80 Error code: E501

    reviewbotreviewbot

    Can we pull _excluded_links out, since we're doing the attribute lookup once per loop?

    chipx86chipx86

    Class variables should go above instance variables.

    chipx86chipx86

    Blank line between these.

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

    flake8

    david
    maubin
    1. Ship It!
    2. 
        
    david
    chipx86
    1. 
        
    2. rbtools/api/resource/base.py (Diff revision 3)
       
       
      Show all issues

      Can we pull _excluded_links out, since we're doing the attribute lookup once per loop?

    3. rbtools/api/resource/extension.py (Diff revision 3)
       
       
       
       
       
      Show all issues

      Class variables should go above instance variables.

    4. rbtools/api/resource/validation.py (Diff revision 3)
       
       
       
      Show all issues

      Blank line between these.

    5. 
        
    david
    maubin
    1. Ship It!
    2. 
        
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (e028669)