Add typing all throughout WebAPIResource.

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

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.

Summary ID
Add typing all throughout WebAPIResource.
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.
ee0bb318a761617704a6cf20e2bd39c5d5770764
david
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.x (94c16d2)