Add new resources, part 4/7.

Review Request #14377 — Created March 20, 2025 and updated

Information

RBTools
master

Reviewers

This change adds the following new resource implementations:
- DiffCommentItemResource
- DiffCommentListResource
- GeneralCommentItemResource
- GeneralCommentListResource
- ReviewItemResource
- ReviewListResource
- ReviewReplyItemResource
- ReviewReplyListResource
- ScreenshotCommentItemResource
- ScreenshotCommentListResource

  • Ran unit tests.
  • Used the new resources from a test script and saw that everything
    worked as expected.
Summary ID
Add new resources, part 4/7.
This change adds the following new resource implementations: - DiffCommentItemResource - DiffCommentListResource - GeneralCommentItemResource - GeneralCommentListResource - ReviewItemResource - ReviewListResource - ReviewReplyItemResource - ReviewReplyListResource - ScreenshotCommentItemResource - ScreenshotCommentListResource Testing Done: - Ran unit tests. - Used the new resources from a test script and saw that everything worked as expected.
94851572f3f4d2c91b7a638332db91d467f5cd81
Description From Last Updated

too many blank lines (2) Column: 5 Error code: E303

reviewbotreviewbot

blank line at end of file Column: 1 Error code: W391

reviewbotreviewbot
There are no open issues
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
Review request changed
Commits:
Summary ID
Add new resources, part 4/7.
This change adds the following new resource implementations: - DiffCommentItemResource - DiffCommentListResource - GeneralCommentItemResource - GeneralCommentListResource - ReviewItemResource - ReviewListResource - ReviewReplyItemResource - ReviewReplyListResource - ScreenshotCommentItemResource - ScreenshotCommentListResource Testing Done: - Ran unit tests. - Used the new resources from a test script and saw that everything worked as expected.
6a041c1f0a2bc870ac34a3f681abd66d66502d89
Add new resources, part 4/7.
This change adds the following new resource implementations: - DiffCommentItemResource - DiffCommentListResource - GeneralCommentItemResource - GeneralCommentListResource - ReviewItemResource - ReviewListResource - ReviewReplyItemResource - ReviewReplyListResource - ScreenshotCommentItemResource - ScreenshotCommentListResource Testing Done: - Ran unit tests. - Used the new resources from a test script and saw that everything worked as expected.
94851572f3f4d2c91b7a638332db91d467f5cd81
Diff:

Revision 2 (+4174 -16)

Show changes

rbtools/api/resource/__init__.py
rbtools/api/resource/base_comment.py
rbtools/api/resource/base_review.py
rbtools/api/resource/diff_comment.py
rbtools/api/resource/file_attachment.py
rbtools/api/resource/file_attachment_comment.py
rbtools/api/resource/file_diff.py
rbtools/api/resource/general_comment.py
7 more

Checks run (2 succeeded)

flake8 passed.
JSHint passed.
Loading...