Correct some of the types in our API resources.

Review Request #14769 — Created Jan. 8, 2026 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

This corrects the following types:
- ListResource iterators are typed as yielding TItemResource instead
of Any.
- FileDiff.dest_file and FileDiff.dest_detail are now non-None, which
matches Review Board's API.

We also get rid of the __nonzero__ method on the ListResource because its
only needed for Python 2, in Python 3 it gets replaced with __bool__.

Used in an upcoming change.

Commits

Files