Add typing and modernize docs for resource subclasses.
Review Request #14245 — Created Nov. 13, 2024 and updated — Latest diff uploaded
This change modernizes the existing resource subclasses, fixing up
typing and documentation. This also adds any missing item or list
resource subclasses to match the ones we have.
- Ran unit tests.
- Used the RBTools API for various tests.
Diff Revision 2 (Latest)
orig
1
2
Commits
Files
pyproject.toml |
---|
rbtools/api/resource/__init__.py |
---|
rbtools/api/resource/diff.py |
---|
rbtools/api/resource/diff_commit.py |
---|
rbtools/api/resource/diff_file_attachment.py |
---|
rbtools/api/resource/draft_diff.py |
---|
rbtools/api/resource/draft_diff_commit.py |
---|
rbtools/api/resource/draft_file_attachment.py |
---|
rbtools/api/resource/draft_screenshot.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 |
---|