Fix up typing for things that just used generic resources.

Review Request #14413 — Created April 30, 2025 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

There were a handful of places where we had added type annotations to
things prior to all the API work, and were just using generic
ListResource/ItemResource/Resource for those. This fixes them up to use
the newly-defined resource subclasses for those annotations.

Ran unit tests.

Changes between revision 1 and 2

orig
1
2

Commits

Summary ID Author
Fix up typing for things that just used generic resources.
There were a handful of places where we had added type annotations to things prior to all the API work, and were just using generic ListResource/ItemResource/Resource for those. This fixes them up to use the newly-defined resource subclasses for those annotations. Testing Done: Ran unit tests.
df0becf806002bf062db486332962c93977fc85a David Trowbridge
Fix up typing for things that just used generic resources.
There were a handful of places where we had added type annotations to things prior to all the API work, and were just using generic ListResource/ItemResource/Resource for those. This fixes them up to use the newly-defined resource subclasses for those annotations. Testing Done: Ran unit tests.
8479972044e06560ab38deea1deece818279adf2 David Trowbridge
rbtools/api/resource/review_request.py
rbtools/clients/clearcase.py
rbtools/clients/svn.py
rbtools/clients/base/repository.py
rbtools/clients/base/scmclient.py
rbtools/commands/review.py
rbtools/commands/setup_repo.py
rbtools/commands/tests/test_setup_repo.py
rbtools/utils/repository.py
rbtools/utils/web_login.py
Loading...