Move request_method_decorator into rbtools.api.resource.base

Review Request #14246 — Created Nov. 15, 2024 and updated

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.

Summary ID
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
Description From Last Updated

Should we add a version changed that says we moved and renamed the function?

maubinmaubin
maubin
  1. 
      
  2. rbtools/api/resource/base.py (Diff revision 1)
     
     
    Show all issues

    Should we add a version changed that says we moved and renamed the function?

  3. 
      
david
Review request changed
Commits:
Summary ID
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
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

Checks run (2 succeeded)

flake8 passed.
JSHint passed.