Modernize base resource classes.
Review Request #14256 — Created Dec. 4, 2024 and updated
This change adds/updates typing and documentation for the base resource
classes.
Ran unit tests.
Summary | ID |
---|---|
d5e0de45c634baab7c4e56c0c30207ac09edd4c5 |
Description | From | Last Updated |
---|---|---|
'typing.Type' imported but unused Column: 1 Error code: F401 |
![]() |
|
line too long (80 > 79 characters) Column: 80 Error code: E501 |
![]() |
|
While you're here could you fix up this sentence. |
![]() |
|
In RB6+ we have QueryArgs and HTTPHeader type aliases defined in /reviewboard/hostingsvcs/base/http.py. Would it be appropriate to use them here? |
![]() |
|
Small nit which I'm not sure even matters but I notice we usually use * instead of - in docstrings. |
![]() |
|
Could we use JSONDict instead? |
![]() |
- Commits:
-
Summary ID b7a94b38bba88ba32623c924b596a6ded24ad8c9 4f5819e99c65406fd5eb7130f07e31f08fd55875
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.