Correct some of the types in our API resources.
Review Request #14769 — Created Jan. 8, 2026 and submitted — Latest diff uploaded
This corrects the following types:
-ListResourceiterators are typed as yieldingTItemResourceinstead
ofAny.
-FileDiff.dest_fileandFileDiff.dest_detailare now non-None, which
matches Review Board's API.We also get rid of the
__nonzero__method on theListResourcebecause its
only needed for Python 2, in Python 3 it gets replaced with__bool__.
Used in an upcoming change.