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.

Changes between revision 1 and 2

orig
1
2
3

Commits

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.
05de590e955924bc290b463a6d038bde03ebdd86 David Trowbridge
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/resource/base.py
Loading...