Add typing all throughout WebAPIResource.

Review Request #13279 — Created Sept. 20, 2023 and submitted — Latest diff uploaded

Information

Djblets
release-4.x

Reviewers

This updates all of WebAPIResource to add typing for methods,
attributes, and local variables, improving code maintenance.

Some logic and typing errors were discovered throughout all this, and
those have now been fixed.

The typing work has also uncovered potential issues with positional vs.
keyword arguments in many of our calls. To resolve this, we'll
eventually need to do away with positional arguments passed to the view,
but that would be a completely separate body of work not planned for
this release.

Unit tests pass.

Commits

Files