Move request_method_decorator into rbtools.api.resource.base

Review Request #14246 — Created Nov. 15, 2024 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

This change moves the request_method_decorator into our base resource
definitions, since it's tightly tied to resources. It also renames it to
request_method for brevity. The old name will still work with a
deprecation warning.

Ran unit tests.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3

Commits

First Last Summary ID Author
Move request_method_decorator into rbtools.api.resource.base
This change moves the `request_method_decorator` into our base resource definitions, since it's tightly tied to resources. It also renames it to `request_method` for brevity. The old name will still work with a deprecation warning. Testing Done: Ran unit tests.
a26da6b37ed6704692d984566d509dbdaf076dd8 David Trowbridge
rbtools/api/decorators.py
rbtools/api/resource/base.py
rbtools/api/resource/diff.py
rbtools/api/resource/diff_file_attachment.py
rbtools/api/resource/draft_diff_commit.py
rbtools/api/resource/file_attachment.py
rbtools/api/resource/file_diff.py
rbtools/api/resource/mixins.py
rbtools/api/resource/review_request.py
rbtools/api/resource/root.py
rbtools/api/resource/screenshot.py
rbtools/api/resource/validate_diff.py
rbtools/api/resource/validate_diff_commit.py
Loading...