Modernize reviewboard.hostingsvcs.base.paginator.
Review Request #13182 — Created Aug. 2, 2023 and submitted — Latest diff uploaded
This adds typing and docs to the hosting service paginator code, helping
implementations return the correct results from paginators. It also adds
some assertions to help ensure some state is set correctly when
accessed.The paginators are generics, allowing the page data type and item types
to be provided to help with consuming expected values in a type-safe
way.
All unit tests pass.