Move request_method_decorator into rbtools.api.resource.base
Review Request #14246 — Created Nov. 15, 2024 and submitted
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 |
---|---|
f0fa5ba27765c8fe4a67a9db162090448ba74491 |
Description | From | Last Updated |
---|---|---|
Should we add a version changed that says we moved and renamed the function? |
![]() |
|
Swap these (ordering issue). |
|
|
This is missing Args and Returns. We should probably also have typing pass-through. |
|
|
We should probably use @wraps or update_method at this point so all the other important properties get transferred over. We're … |
|
- Commits:
-
Summary ID 05de590e955924bc290b463a6d038bde03ebdd86 a26da6b37ed6704692d984566d509dbdaf076dd8 - Diff:
-
Revision 2 (+182 -104)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commits:
-
Summary ID a26da6b37ed6704692d984566d509dbdaf076dd8 f0fa5ba27765c8fe4a67a9db162090448ba74491 - Diff:
-
Revision 3 (+198 -104)
Checks run (1 timed out)
JSHint
timed out.