Add new resources, part 7/7.
Review Request #14380 — Created March 20, 2025 and updated — Latest diff uploaded
This change adds the following new resource implementations:
- ArchivedReviewRequestItemResource
- ArchivedReviewRequestListResource
- MutedReviewRequestItemResource
- MutedReviewRequestListResourceThese resources are special because they do not support GET operations,
and the regular links introspection therefore doesn't work. The
implementation of these is therefore done as a custom layer that allows
us to get a "bare" instance of the resource, which can then be used for
create
ordelete
as appropriate.
- Ran unit tests.
- Used the new resources from a test script and saw that everything
worked as expected.
rbtools/api/resource/base_archived_object.py |
---|