Add typing all throughout WebAPIResource.
Review Request #13279 — Created Sept. 20, 2023 and submitted
This updates all of
WebAPIResourceto 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
Unit tests pass.